An EM lock, or electromagnetic lock, is a type of locking device that uses an electromagnet to secure a door. When powered, the magnet creates a strong attraction to a corresponding metal plate, keeping the door firmly closed. EM locks are particularly popular for their high level of security and are widely used in commercial buildings, schools, and other high-security environments.