A lock keeps things closed. It keeps people from opening something, such as a door or a box. Keys open locks. Sometimes an electronic card or secret numbers will open a lock. The verb to lock means to set the lock so the door or object is closed. A person who works on locks is called a locksmith.