Electromagnetic Locks, magnetic lock, or maglock is a locking device that consists an electromagnet and an armature plate. There are two main types of electric locking devices. Locking devices can be either “fail safe” or “fail secure”.