the incicators and lock is probably the easyest option, but its also the one that would cive you a false positive,
plusing earth for the led? thats a but weird, even so, that makes things alittle. assuming its a true earth, and not just a 0volts, eitherway, keepling the supply and earth...