Opposite poles attract
catalogue locks
An electromagnetic lock is an electromagnet that is installed in the door frame and a counterplate fixed to the door leaf. When activated, the electromagnet firmly holds the counterplate and the door remains closed.