A solenoid lock is an electromechanical device that uses an electromagnet to operate a locking bolt, allowing for electronic control over access. When electrical current is applied to the solenoid coil, it creates a magnetic field that pulls a metal rod (armature) to either lock or unlock a door, depending on its configuration. These locks are used in applications from simple cabinets to high-security doors and integrate with access control systems.