an electromagnetic lock assembly employs a switch which detects an attempt to open the door . the armature is biased tow the door by a spring acting between a mounting bolt for the armature . an actuator protrudes from the electromagnet bonding face and engages against the cap of the mounting bolt . a switch may thus be actuated while the electromagnetic bonding between the armature and the electromagnet is maintained .