A lock is a
mechanical or
electronic fastening device that is released by a physical object (such as a key,
keycard,
fingerprint
A fingerprint is an impression left by the friction ridges of a human finger. The recovery of partial fingerprints from a crime scene is an important method of forensic science. Moisture and grease on a finger result in fingerprints on surfa ...
,
RFID card,
security token or coin), by supplying secret information (such as a number or letter permutation or
password
A password, sometimes called a passcode, is secret data, typically a string of characters, usually used to confirm a user's identity. Traditionally, passwords were expected to be memorized, but the large number of password-protected services t ...
), by a combination thereof, or it may only be able to be opened from one side, such as a door chain.
A key is a device that is used to operate a lock (to lock or unlock it). A typical key is a small piece of metal consisting of two parts: the ''
bit'' or ''blade'', which slides into the
keyway of the lock and distinguishes between different keys, and the ''bow'', which is left protruding so that torque can be applied by the user. In its simplest implementation, a key operates one lock or set of locks that are keyed alike, a lock/key system where each similarly keyed lock requires the same, unique key.
The key serves as a
security token for access to the locked area; locks are meant to only allow persons having the correct key to open it and gain access. In more complex mechanical lock/key systems, two different keys, one of which is known as the master key, serve to open the lock. Common metals include
brass
Brass is an alloy of copper and zinc, in proportions which can be varied to achieve different colours and mechanical, electrical, acoustic and chemical properties, but copper typically has the larger proportion, generally copper and zinc. I ...
, plated brass,
nickel silver, and
steel
Steel is an alloy of iron and carbon that demonstrates improved mechanical properties compared to the pure form of iron. Due to steel's high Young's modulus, elastic modulus, Yield (engineering), yield strength, Fracture, fracture strength a ...
. The act of opening a lock without a key is called
lock picking.
History
Premodern history
Locks have been in use for over 6000 years, with one early example discovered in the ruins of
Nineveh, the capital of ancient
Assyria
Assyria (Neo-Assyrian cuneiform: , ''māt Aššur'') was a major ancient Mesopotamian civilization that existed as a city-state from the 21st century BC to the 14th century BC and eventually expanded into an empire from the 14th century BC t ...
.
Locks such as this were developed into the
Egypt
Egypt ( , ), officially the Arab Republic of Egypt, is a country spanning the Northeast Africa, northeast corner of Africa and Western Asia, southwest corner of Asia via the Sinai Peninsula. It is bordered by the Mediterranean Sea to northe ...
ian wooden
pin lock, which consisted of a bolt, door fixture or attachment, and key. When the key was inserted, pins within the fixture were lifted out of drilled holes within the bolt, allowing it to move. When the key was removed, the pins fell part-way into the bolt, preventing movement.
The
warded lock was also present from antiquity and remains the most recognizable lock and key design in the Western world. The first all-metal locks appeared between the years 870 and 900, and are attributed to English craftsmen. It is also said that the key was invented by
Theodorus of Samos in the 6th century BC.
The Romans invented metal locks and keys and the system of security provided by wards.
Affluent Romans often kept their valuables in secure locked boxes within their households, and wore the keys as rings on their fingers. The practice had two benefits: It kept the key handy at all times, while signaling that the wearer was wealthy and important enough to have money and jewellery worth securing.

A special type of lock, dating back to the 17th–18th century, although potentially older as similar locks date back to the 14th century, can be found in the
Beguinage
A beguinage, from the French language, French term , is an architectural complex which was created to house beguines: lay religious women who lived in community without taking vows or retiring from the world.
Originally the beguine institution w ...
of the Belgian city
Lier.
[R. De Bruyn, ‘Oude sloten op deurtjes in het Liers begijnhof’, in: 't land van Ryen jaargang 17, aflevering 3–4, 1967, p. 158, article in Dutch][Echtpaar schrijft eerste boek sinds twintig jaar over Liers begijnhof]
nieuwsblad.be, Chris van Rompaey, 17 april 2018, article in Dutch These locks are most likely Gothic locks, that were decorated with foliage, often in a V-shape surrounding the keyhole. They are often called ''drunk man's lock'', as these locks were, according to certain sources, designed in such a way a person can still find the keyhole in the dark, although this might not be the case as the ornaments might have been purely aesthetic.
[ In more recent times similar locks have been designed.
]
Modern locks
With the onset of the Industrial Revolution
The Industrial Revolution, sometimes divided into the First Industrial Revolution and Second Industrial Revolution, was a transitional period of the global economy toward more widespread, efficient and stable manufacturing processes, succee ...
in the late 18th century and the concomitant development of precision engineering and component standardization, locks and keys were manufactured with increasing complexity and sophistication.
The lever tumbler lock, which uses a set of levers to prevent the bolt from moving in the lock, was invented by Robert Barron in 1778. His double acting lever lock required the lever to be lifted to a certain height by having a slot cut in the lever, so lifting the lever too far was as bad as not lifting the lever far enough. This type of lock is still used today.
The lever tumbler lock was greatly improved by Jeremiah Chubb in 1818.[ A burglary in ]Portsmouth Dockyard
His Majesty's Naval Base, Portsmouth (HMNB Portsmouth) is one of three operating bases in the United Kingdom for the Royal Navy (the others being HMNB Clyde and HMNB Devonport). Portsmouth Naval Base is part of the city of Portsmouth; it is loc ...
prompted the British Government to announce a competition to produce a lock that could be opened only with its own key. Chubb developed the Chubb detector lock, which incorporated an integral security feature that could frustrate unauthorized access attempts and would indicate to the lock's owner if it had been interfered with. Chubb was awarded £100 after a trained lock-picker failed to break the lock after 3 months.
In 1820, Jeremiah joined his brother Charles
Charles is a masculine given name predominantly found in English language, English and French language, French speaking countries. It is from the French form ''Charles'' of the Proto-Germanic, Proto-Germanic name (in runic alphabet) or ''* ...
in starting their own lock company, Chubb. Chubb made various improvements to his lock: his 1824 improved design did not require a special regulator key to reset the lock; by 1847 his keys used six levers rather than four; and he later introduced a disc that allowed the key to pass but narrowed the field of view, hiding the levers from anybody attempting to pick the lock. The Chubb brothers also received a patent for the first burglar-resisting safe and began production in 1835.
The designs of Barron and Chubb were based on the use of movable levers, but Joseph Bramah, a prolific inventor, developed an alternative method in 1784. His lock used a cylindrical key with precise notches along the surface; these moved the metal slides that impeded the turning of the bolt into an exact alignment, allowing the lock to open. The lock was at the limits of the precision manufacturing capabilities of the time and was said by its inventor to be unpickable. In the same year Bramah started the Bramah Locks company at 124 Piccadilly, and displayed the "Challenge Lock" in the window of his shop from 1790, challenging "...the artist who can make an instrument that will pick or open this lock" for the reward of £200. The challenge stood for over 67 years until, at the Great Exhibition
The Great Exhibition of the Works of Industry of All Nations, also known as the Great Exhibition or the Crystal Palace Exhibition (in reference to the temporary structure in which it was held), was an international exhibition that took ...
of 1851, the American locksmith Alfred Charles Hobbs was able to open the lock and, following some argument about the circumstances under which he had opened it, was awarded the prize. Hobbs' attempt required some 51 hours, spread over 16 days.
The earliest patent for a double-acting pin tumbler lock was granted to American physician Abraham O. Stansbury in England in 1805, but the modern version, still in use today, was invented by American Linus Yale Sr. in 1848. This lock design used pins of varying lengths to prevent the lock from opening without the correct key. In 1861, Linus Yale Jr.
Linus Yale Jr. (April 4, 1821 – December 25, 1868) was an American businessman, inventor, mechanical engineer, and metalsmith. He was a co-founder with millionaire Henry R. Towne of the Yale Lock Company, which became the premier manu ...
was inspired by the original 1840s pin-tumbler lock designed by his father, thus inventing and patenting a smaller flat key with serrated edges as well as pins of varying lengths within the lock itself, the same design of the pin-tumbler lock which still remains in use today. The modern Yale lock is essentially a more developed version of the Egyptian lock.
Despite some improvement in key design since, the majority of locks today are still variants of the designs invented by Bramah, Chubb and Yale.
Types of lock
* Bicycle lock
* Cam lock
* Chamber lock
* Child safety lock
* Chubb detector lock
* Combination lock
* Cylinder lock
* Dead bolt
* Disc tumbler lock
* Electric strike
* Electromagnetic lock
* Electronic lock
An electronic lock (or electric lock) is a Lock (security device), locking device which operates by means of electric current. Electric locks are sometimes stand-alone with an electronic control assembly mounted directly to the lock. Electric lo ...
* Lever tumbler lock
* Luggage lock
* Magnetic keyed lock
* Mortise lock
* Padlock
Padlocks are portable Lock (security device), locks with a shackle that may be passed through an opening (such as a chain, chain link, or hasp staple) to prevent wikt:use, use, theft, vandalism or harm.
Naming and etymology
The term '':wikt: ...
* Pin tumbler lock
* Police lock
* Protector lock
* Rim lock
* Time lock
* Warded lock
With physical keys
Pin tumbler no key.svg, Pin tumbler lock: without a key in the lock, the driver pins (blue) are pushed downwards, preventing the plug (yellow) from rotating.
Disc tumbler locked.png, Wafer tumbler lock: without a key in the lock, the wafers (red) are pushed down by springs. The wafers nestle into a groove in the lower part of the outer cylinder (green) preventing the plug (yellow) from rotating.
Tubular locked.png, Tubular lock: the key pins (red) and driver pins (blue) are pushed towards the front of the lock, preventing the plug (yellow) from rotating. The tubular key has several half-cylinder indentations which align with the pins.
A warded lock uses a set of obstructions, or wards, to prevent the lock from opening unless the correct key is inserted. The key has notches or slots that correspond to the obstructions in the lock, allowing it to rotate freely inside the lock. Warded locks are typically reserved for low-security applications as a well-designed skeleton key can successfully open a wide variety of warded locks.
The pin tumbler lock uses a set of pins to prevent the lock from opening unless the correct key is inserted. The key has a series of grooves on either side of the key's blade that limit the type of lock the key can slide into. As the key slides into the lock, the horizontal grooves on the blade align with the wards in the keyway allowing or denying entry to the cylinder. A series of pointed teeth and notches on the blade, called bittings, then allow pins to move up and down until they are in line with the shear line of the inner and outer cylinder, allowing the cylinder or cam to rotate freely and the lock to open. An additional pin called the master pin is present between the key and driver pins in locks that accept master keys, to allow the plug to rotate at multiple pin elevations.
A wafer tumbler lock is similar to the pin tumbler lock and works on a similar principle. However, unlike the pin lock (where each pin consists of two or more pieces) each wafer is a single piece. The wafer tumbler lock is often incorrectly referred to as a disc tumbler lock, which uses an entirely different mechanism. The wafer lock is relatively inexpensive to produce and is often used in automobiles and cabinetry.
The disc tumbler lock or Abloy lock is composed of slotted rotating detainer discs.
The lever tumbler lock uses a set of levers to prevent the bolt from moving in the lock. In its simplest form, lifting the tumbler above a certain height will allow the bolt to slide past. Lever locks are commonly recessed inside wooden doors or on some older forms of padlocks, including fire brigade padlocks.
A magnetic keyed lock is a locking mechanism whereby the key utilizes magnets as part of the locking and unlocking mechanism. A magnetic key would use from one to many small magnets oriented so that the North and South poles would equate to a combination to push or pull the lock's internal tumblers thus releasing the lock.
With electronic keys
An electronic lock
An electronic lock (or electric lock) is a Lock (security device), locking device which operates by means of electric current. Electric locks are sometimes stand-alone with an electronic control assembly mounted directly to the lock. Electric lo ...
works by means of an electric current and is usually connected to an access control
In physical security and information security, access control (AC) is the action of deciding whether a subject should be granted or denied access to an object (for example, a place or a resource). The act of ''accessing'' may mean consuming ...
system. In addition to the pin and tumbler used in standard locks, electronic locks connect the bolt or cylinder to a motor within the door using a part called an actuator. Types of electronic locks include the following:
A keycard lock operates with a flat card of similar dimensions as a credit card. In order to open the door, one needs to successfully match the signature within the ''keycard''.
The lock in a typical remote keyless system operates with a smart key radio transmitter. The lock typically accepts a particular valid code only once, and the smart key transmits a different rolling code every time the button is pressed.
Generally the car door can be opened with either a valid code by radio transmission, or with a (non-electronic) pin tumbler key.
The ignition switch may require a transponder car key to both open a pin tumbler lock and also transmit a valid code by radio transmission.
A smart lock is an electromechanics lock that gets instructions to lock and unlock the door from an authorized device using a cryptographic key
A key in cryptography is a piece of information, usually a string of numbers or letters that are stored in a file, which, when processed through a cryptographic algorithm
In mathematics and computer science, an algorithm () is a finite sequenc ...
and wireless protocol. Smart locks have begun to be used more commonly in residential areas, often controlled with smartphones. Smart locks are used in coworking spaces and offices to enable keyless office entry. In addition, electronic locks cannot be picked with conventional tools.
Locksmithing
Locksmithing
Locksmithing is the work of creating and bypassing locks. Locksmithing is a traditional trade and in many countries requires completion of an apprenticeship. The level of formal education legally required varies by country, ranging from no formal ...
is a traditional trade, and in most countries requires completion of an apprenticeship
Apprenticeship is a system for training a potential new practitioners of a trade or profession with on-the-job training and often some accompanying study. Apprenticeships may also enable practitioners to gain a license to practice in a regulat ...
. The level of formal education required varies from country to country, from no qualifications required at all in the UK, to a simple training certificate awarded by an employer, to a full diploma
A diploma is a document awarded by an educational institution (such as a college or university) testifying the recipient has graduated by successfully completing their courses of studies. Historically, it has also referred to a charter or offi ...
from an engineering
Engineering is the practice of using natural science, mathematics, and the engineering design process to Problem solving#Engineering, solve problems within technology, increase efficiency and productivity, and improve Systems engineering, s ...
college
A college (Latin: ''collegium'') may be a tertiary educational institution (sometimes awarding degrees), part of a collegiate university, an institution offering vocational education, a further education institution, or a secondary sc ...
. Locksmiths may be commercial (working out of a storefront), mobile (working out of a vehicle), institutional, or investigational (forensic locksmiths). They may specialize in one aspect of the skill, such as an automotive lock specialist, a master key system specialist or a safe technician. Many also act as security consultants, but not all security consultants have the skills and knowledge of a locksmith.
Historically, locksmiths constructed or repaired an entire lock, including its constituent parts. The rise of cheap mass production has made this less common; the vast majority of locks are repaired through like-for-like replacements, high-security safes and strongboxes being the most common exception. Many locksmiths also work on any existing door hardware, including door closers, hinges, electric strikes, and frame repairs, or service electronic lock
An electronic lock (or electric lock) is a Lock (security device), locking device which operates by means of electric current. Electric locks are sometimes stand-alone with an electronic control assembly mounted directly to the lock. Electric lo ...
s by making keys for transponder-equipped vehicles and implementing access control systems.
Although the fitting and replacement of keys remains an important part of locksmithing, modern locksmiths are primarily involved in the installation of high quality lock-sets and the design, implementation, and management of keying and key control systems. Locksmiths are frequently required to determine the level of risk to an individual or institution and then recommend and implement appropriate combinations of equipment and policies to create a "security layer" that exceeds the reasonable gain of an intruder.
Key duplication
Traditional key cutting is the primary method of key duplication. It is a subtractive process named after the metalworking process of cutting
Cutting is the separation or opening of a physical object, into two or more portions, through the application of an acutely directed force.
Implements commonly used for wikt:cut, cutting are the knife and saw, or in medicine and science the sca ...
, where a flat ''blank'' key is ground down to form the same shape as the ''template'' (original) key. The process roughly follows these stages:
# The original key is fitted into a vise
A vise or vice (British English) is a mechanical apparatus used to secure an object to allow work to be performed on it. Vises have two parallel jaws, one fixed and the other movable, threaded in and out by a screw and lever. The jaws are ofte ...
in a machine, with a blank attached to a parallel vise which is mechanically linked.
# The original key is moved along a guide in a movement which follows the key's shape, while the blank is moved in the same pattern against a cutting wheel by the mechanical linkage between the vices.
# After cutting, the new key is deburred by scrubbing it with a metal brush to remove particles of metal which could be dangerously sharp and foul locks.
Modern key cutting replaces the mechanical key following aspect with a process in which the original key is scanned electronically, processed by software, stored, then used to guide a cutting wheel when a key is produced. The capability to store electronic copies of the key's shape allows for key shapes to be stored for key cutting by any party that has access to the key image.
Different key cutting machines are more or less automated, using different milling or grinding equipment, and follow the design of early 20th century key duplicators.
Key duplication is available in many retail hardware stores and as a service of the specialized locksmith, though the correct key blank may not be available. More recently, online services for duplicating keys have become available.
Keyhole
A keyhole (or keyway) is a hole or aperture (as in a door or lock) for receiving a key. Lock keyway shapes vary widely with lock manufacturer, and many manufacturers have a number of unique profiles requiring a specifically milled key blank to engage the lock's tumblers.
Symbolism
Heraldry
Keys appear in various symbols and coats of arms, the best-known being that of the Holy See
The Holy See (, ; ), also called the See of Rome, the Petrine See or the Apostolic See, is the central governing body of the Catholic Church and Vatican City. It encompasses the office of the pope as the Bishops in the Catholic Church, bishop ...
: derived from the phrase in Matthew 16:19 which promises Saint Peter
Saint Peter (born Shimon Bar Yonah; 1 BC – AD 64/68), also known as Peter the Apostle, Simon Peter, Simeon, Simon, or Cephas, was one of the Twelve Apostles of Jesus and one of the first leaders of the Jewish Christian#Jerusalem ekklēsia, e ...
, in Roman Catholic tradition the first pope
The pope is the bishop of Rome and the Head of the Church#Catholic Church, visible head of the worldwide Catholic Church. He is also known as the supreme pontiff, Roman pontiff, or sovereign pontiff. From the 8th century until 1870, the po ...
, the Keys of Heaven. But this is by no means the only case.
File:Coat of arms Holy See.svg, Coat of arms
A coat of arms is a heraldry, heraldic communication design, visual design on an escutcheon (heraldry), escutcheon (i.e., shield), surcoat, or tabard (the last two being outer garments), originating in Europe. The coat of arms on an escutcheon f ...
of the Holy See
The Holy See (, ; ), also called the See of Rome, the Petrine See or the Apostolic See, is the central governing body of the Catholic Church and Vatican City. It encompasses the office of the pope as the Bishops in the Catholic Church, bishop ...
File:Siuntio.vaakuna.svg, A key pictured in the coat of arms of Siuntio
Artwork
Some works of art associate keys with the Greek goddess of witchcraft
Witchcraft is the use of Magic (supernatural), magic by a person called a witch. Traditionally, "witchcraft" means the use of magic to inflict supernatural harm or misfortune on others, and this remains the most common and widespread meanin ...
, known as Hecate.
Palestinian key
The Palestinian key is the Palestinian collective symbol of their homes lost in the Nakba, when more than half of the population of Mandatory Palestine
Mandatory Palestine was a British Empire, British geopolitical entity that existed between 1920 and 1948 in the Palestine (region), region of Palestine, and after 1922, under the terms of the League of Nations's Mandate for Palestine.
After ...
was expelled or fled violence in 1948 and were subsequently refused the right to return.[Feldman, llana. 2008]
Refusing Invisibility: Documentation and Memorialization in Palestinian Refugee Claims
, Journal of Refugee Studies 21 (4): 4, page 503: "Anyone familiar with Palestinian visibility practices will certainly be aware of the importance of certain central objects within this field. Many refugees still have the keys to their houses in Palestine. Keeping these keys, and showing them to visitors and researchers, is part of a hope for return and a claim to these properties. Given this widespread practice, these keys, with their distinctive old-fashioned look, have also become symbols of refugee commitment to Palestine. At demonstrations in support of Palestinians one can often find people carrying enlarged replicas of these keys—in the process transforming individual objects into collective symbols." Since 2016, a Palestinian restaurant in Doha
Doha ( ) is the capital city and main financial hub of Qatar. Located on the Persian Gulf coast in the east of the country, north of Al Wakrah and south of Al Khor (city), Al Khor and Lusail, it is home to most of the country's population. It ...
, Qatar
Qatar, officially the State of Qatar, is a country in West Asia. It occupies the Geography of Qatar, Qatar Peninsula on the northeastern coast of the Arabian Peninsula in the Middle East; it shares Qatar–Saudi Arabia border, its sole land b ...
, holds the Guinness World Record for the world's largest key – 2.7 tonnes and 7.8 × 3 meters.
See also
* Door security
* Exit control lock
* Key relevance
In master locksmithing, key relevance is the measurable difference between an original key (lock), key and a copy made of that key, either from a wax impression or directly from the original, and how similar the two keys are in size and shape. It ...
* Physical security
Physical security describes security measures that are designed to deny unauthorized access to facilities, equipment, and resources and to protect personnel and property from damage or harm (such as espionage, theft, or terrorist attacks). Physi ...
References
Further reading
* Phillips, Bill. (2005). ''The Complete Book of Locks and Locksmithing.'' McGraw-Hill. .
* Alth, Max (1972). ''All About Locks and Locksmithing.'' Penguin.
* Robinson, Robert L. (1973). ''Complete Course in Professional Locksmithing'' Nelson-Hall.
External links
Historical locks
by Raine Borg and ASSA ABLOY
Picking Locks
''Popular Mechanics''
{{Authority control
Door furniture
*
Physical security
id:Kunci