lock and key
lock and key, fastening fitted to an entryway, such as a gate or door, or a container, such as a cabinet, drawer or safe, to keep it closed and/or prevent unauthorized access or use. Locks typically consist of a sliding, pivoted, or rotary bolt protected by a fixed or movable object. A lock may be opened by a mechanical, magnetic, electric, electronic, or electromechanical key or by employing a code or sequence of numbers or letters.
There are two basic types of mechanical locks, each with variations. The oldest and simplest is the warded lock, which is essentially a spring-loaded bolt in which a notch has been cut. The key fits into the notch and slides the bolt backward and forward. The lock takes its name from the fixed projections, or wards, inside the lock and around the keyhole. The correct key has notches cut into it that match the wards, which block the wrong key from operating the lock. The ward lock is the easiest to pick and now is used only for cheap padlocks.
The tumbler lock contains one or more pieces of metal (called tumblers, levers, or latches) that fall into a slot in the bolt and prevent it being moved. The proper key has serrations that raise the metal pieces to the correct height above the slot, allowing the bolt to slide. There are three types of tumbler locks, pin-tumbler, disk-tumbler, and lever-tumbler. Pin-tumbler locks are the most common. The tumblers in this type of lock are small pins. The modern door lock is a compact pin-tumbler cylinder lock of the type developed (1860) by the American inventor Linus Yale. Door locks on automobiles and most high-security locks have pin tumblers. Disk- or wafer-tumbler locks, use flat disks, or wafers, instead of pins. When the proper key is inserted, the disks retract, releasing the bolt. Disk-tumbler locks are often used in desks and file cabinets. Lever-tumbler locks employ a series of different-sized levers resting on a bolt pin to prevent the bolt from moving. When the proper key is inserted, all the levers are raised to the same height, enabling the bolt pin to release the bolt. Lever-tumbler locks are often used in briefcases, safe-deposit boxes, and lockers.
The first of the keyless locks was the combination lock, developed at the beginning of the 17th cent. In it a number of rings inscribed with letters or numbers are threaded on a spindle. To open the lock the rings must be turned to form a code word or number, which causes the slots inside the rings to align and permits the spindle to be drawn out. A variant of the combination lock employs a movable dial with a series of numbers around it in place of the rings. The dial must be turned clockwise and counterclockwise in the proper sequence of numbers to align disk tumblers and open the lock. Once used only for padlocks, combination locks began to be used in safes and strong-room doors during the last half of the 19th cent. The time lock, first used successfully c.1875, has a clock mechanism that is set to permit opening only a certain time.
Electric and Magnetic Locks
Recent lock developments include the magnetic-key lock, in which the pins are actuated by small magnets on the key, which has no serrations. When the key is inserted into the lock, these magnets repel magnetized spring-loaded pins, raising them in the same way that the serrations on a tumbler-type key would. The card-key lock is actuated by a series of magnetic charges; the card-key is popular where security is vital, because a new series may be electronically defined for each new user, without having to change the lock itself. Similarly, electronic card access systems are used in many hotels and office buildings. A special "key" system uses a paperboard or plastic card, on which a code is recorded as a series of holes or bumps, or a microchip or a magnetic strip on which a code is stored. A card reader at the lock location reads the code and sends the information to a computer, which sends a signal to release the bolt if the code is correct. Electronic combination locks similarly use a computer to compare a combination stored in memory with one entered on a keypad; access is permitted if the combinations match. In a biometric entry system the numeric keypad is replaced by a scanner, which captures an individual's fingerprint, palmprint, signature, or other personal characteristic and compares it with that in the computer's memory. Biometric entry systems are most often used in high-security areas, such as nuclear power plants.
In an electromagnetic lock a metal plate is attached to the door and an electromagnet is attached to the doorframe opposite the plate. When the current flows, the electromagnet attracts the plate, holding the door closed, When the flow of current is stopped, the door unlocks. A variation places the plate and electromagnet so that the door is held open when current flows, enabling the door to be closed automatically when the current stops.
Keyless entry systems, which are common in motor vehicles, rely on a keychain fob that contains a remote-control unit consisting of an integrated circuit and a radio transmitter. The fob sends a low-powered radio signal to a receiver in the motor vehicle, and, if the received code is the correct one, the receiver in the vehicle relays the signal to a microprocessor, which opens the lock. The acceptance of such entry systems has led to devices that allow additional functions within the vehicle to be activated remotely.
In other keyless entry systems, radio-frequency identification (RFID) is used. An RFID tag, card, or fob is brought within range of radio waves produced by an RFID reader or interrogator, allowing data to be exchanged; when the microprocessor controlling the lock confirms that the received data is associated with someone allowed entry, the door is unlocked. RFID systems are more commonly used to control entry into buildings or rooms, and the use of a computer to control locks that use RFID allows access to specific areas to be restricted to specific people or at specific times.