Typically the magnet portion of the lock is set up on the top with the doorway frame and the armature plate is connected on the doorway. The 2 factors make contact in the event the door is shut. Once the magnet receives ability, it produces a magnetic pull that triggers the armature plate to draw in the magnet, making a locking motion. TaskRabbi