The History of Locks: From Wooden Locks to Modern Keypads
In 1851, an American locksmith arrived at London’s Great Exhibition. His name was Alfred C. Hobbs. He publicly declared that he would challenge two locks considered impregnable in Britain. One was a lock on which Joseph Bramah had taken out a patent in 1784 and displayed in his shop window from 1790, accompanied by a placard reading: “The artist who can make an instrument that will pick or open this lock shall receive 200 guineas the moment it is produced.” Hobbs spent 51 hours on the task — and ultimately succeeded.[1]
Yet the true significance of this event was not Hobbs’s victory. The fact that a lock unbroken for 61 years had finally been opened spurred lock makers in a new direction. The race to build the “perfect lock” intensified, and barely a decade later, Linus Yale Jr. completed the pin tumbler cylinder lock — still the most widely used lock design in the world today. The history of locks is, in this sense, a story of perpetual tension between those who secure and those who breach.
The World’s First Lock: Egypt’s Wooden Pin Tumbler
The history of mechanical locks stretches back roughly 6,000 years to ancient Egypt and Mesopotamia.[2] Archaeologists suggest that prototypes may have appeared first in Mesopotamia — the region corresponding to modern-day Iraq — but the best-documented artifact among surviving examples is the Egyptian wooden pin tumbler lock.[2]
Its operating principle is remarkably modern. A horizontal bolt is inserted into a wooden post fixed to the door, and the top surface of the bolt is drilled with several holes. When locked, wooden pins fall by their own weight into those holes, preventing the bolt from sliding even if pushed.[3]
The key was a large wooden rod shaped somewhat like a toothbrush, with upright wooden pegs attached to it. When this key was inserted into the lock’s slot and lifted, its pegs pushed the lock’s pins upward, clearing them from the bolt. The bolt could then be slid open.[3] These devices could be as long as 60 centimeters — nothing like the small, sleek keys of today — but the underlying concept is identical to the pin tumbler principle still used in hundreds of millions of locks worldwide.
Ancient Roman Innovation: Metal Locks and the First Fashion Accessory
The Egyptian wooden lock had a critical weakness. Wood is vulnerable to moisture and impact, difficult to craft with precision, and relatively easy to copy. The Romans began solving this problem with metal, starting around 870–900 BCE.[4] Roman locks were made of iron and bronze, far more durable and intricate than their predecessors.
The key Roman innovation was the concept of the “ward.” A ward is a projecting obstacle placed around the keyhole or inside the lock body; only the correct key can navigate past it to turn.[4] Locks using this mechanism are called warded locks. As the Romans refined this approach, keys also took on increasingly varied and complex shapes.
There is, however, a more fascinating development from the Roman period: the ring key. Roman citizens wore key-shaped rings on their fingers, carrying their keys with them at all times.[5] This was not a purely practical choice. A ring key opened a strongbox or jewelry case containing valuables, and wearing one signaled: “I am a person with property worth protecting.” It is striking that locks and keys, from their very beginning, were connected not just to security but to the expression of social status.

Medieval Europe: The Long Plateau, and the Monasteries
After the fall of the Western Roman Empire in 476 CE, lock technology entered a prolonged stagnation. Rather than developing new mechanisms, medieval European craftsmen sought improved security by making keys more elaborate, adding false keyholes, or concealing the keyhole itself.[6]
Paradoxically, the most active sites of lock production in this period were monasteries. Monasteries were among the few institutions in medieval Europe with access to metalworking skills and materials, and they had a pressing need to protect precious manuscripts, holy relics, and material wealth.[6] Some works produced by medieval locksmiths emphasized artistic ornamentation over technical sophistication — elaborately engraved iron locks that survive today in museum collections.

Medieval European locks depended chiefly on the complexity of the key’s shape for their security. The fundamental weakness of this approach was that a tool resembling the key could be maneuvered past the wards without the key itself — the so-called “skeleton key,” a master key that could open multiple locks by exploiting this vulnerability.
The 18th-Century Revolution: Lever Locks and the Beginning of Modern Security
The true leap in lock technology came in the late eighteenth century, during the Industrial Revolution. In 1778, the Englishman Robert Barron invented and patented the double-acting lever lock.[7] This invention marked a decisive turning point in lock history.
Barron’s lock contained multiple levers. Each lever had to be lifted to a precisely specified height — no more, no less. The correct key lifts each lever to exactly the right height, allowing the bolt to move. Lifting a lever too little or too much keeps the lock engaged.[7] This was the fundamental difference from a warded lock: where a warded lock required only that obstacles be avoided, a lever lock required that each component be positioned at an exact point.
Six years later, in 1784, Joseph Bramah advanced Barron’s concept further. Bramah’s lock featured a cylindrical key with precisely milled grooves — a showcase for the precision engineering of its era.[1] Bramah placed the lock in his shop window and issued his challenge. This is the story that leads, 67 years on, to Hobbs’s feat at the Great Exhibition.

The Perfected Pin Tumbler: Linus Yale and the Modern Key
After the Bramah lock was picked in 1851, the lock industry entered a new era of competition. The figure who emerged in this period was the American Linus Yale Jr. (1821–1868).
Yale’s father, Linus Yale Sr., was also a lock maker, and Yale Jr. took over the family business of making bank vault locks while beginning his own research into new mechanisms. He turned his attention to the ancient Egyptian pin tumbler principle. What if, instead of wooden pins, he used precisely machined metal pins — and miniaturized the entire assembly?
In 1861, Yale patented a cylinder pin tumbler lock, and in 1865 he registered a further patent for a padlock applying the same principle.[8] The core innovations were twofold. First, multiple pairs of metal pins are held downward by spring pressure, preventing the cylinder from turning without a key. Second, the serrated edge of the key pushes each pair of pins to exactly the right height, aligning the “shear line.” At that point, the cylinder rotates freely.[9]
Yale’s design was decisively superior to earlier locks for two reasons. First, size: where Bramah’s and Barron’s locks were large and complex, Yale’s cylinder lock was far smaller and could be fitted into a door with minimal effort. Second, mass producibility: with the precise metal machining made possible by the Industrial Revolution, Yale’s lock could be manufactured at scale using standardized components.[8] The Yale Lock Company, founded after Yale’s death in 1868, spread this design around the world, establishing the template for the keys we use every day.
Combination Locks: Securing Without a Key
Carrying a key poses inherent problems. It can be lost, copied, or stolen. The combination lock was conceived to address these vulnerabilities.
The origins of the combination lock are believed to lie in China, though the historical record is sparse.[10] The earliest Western references appear in seventeenth-century European texts describing dial-based locking devices. In 1857, the American James Sargent invented a practical combination lock, and in 1873 he developed the time lock mechanism — one that could only be opened after a set time had elapsed.[11] The time lock proved especially useful for bank vaults: even if robbers threatened a bank employee, the vault could not be opened before the appointed hour.
In 1878, the German-born Joseph Loch built an improved combination lock based on Yale’s design and supplied it to Tiffany’s Jewelers in New York.[11] The combination locks found today on lockers and travel bags descend from this lineage.
The security of a combination lock derives from the sheer number of possible sequences. A three-digit combination using digits 0–99, for instance, yields one million possible permutations. High-security safes use far more complex sequences. Yet combination locks were not without vulnerabilities: a skilled safecracker could infer the combination through the faint tactile or auditory feedback of turning the dial — a technique known as “safecracking.” To counter this, engineers developed noise dampening, double-disc mechanisms, and fence structures.
The History of Safes: Protection from Fire and Theft
No matter how strong a lock, breaking down the door it is mounted on renders it useless. This problem gave rise to the safe.
The ancestors of the modern safe can be traced to the lockboxes of ancient Egypt and Greece, but the safe in its contemporary sense emerged in Industrial Revolution-era Britain. In 1818, Charles Chubb and his brother Jeremiah Chubb established the Chubb lock company, and in 1835 they obtained a patent for a burglar-resistant safe.[12] In 1839, they also registered a patent for a fire-resistant safe.
Another breakthrough in fireproof safe technology came from the United States. In 1840, American inventor Silas Herring developed a safe with a double-wall construction enclosing an air gap that impeded heat transfer.[12] This principle — double walls filled with insulating material — remains the foundational design of fireproof safes to this day.
The decisive advance in safe security was the combination of the combination lock with the time lock described earlier. The time lock that Sargent developed in 1873 changed the nature of bank robbery itself. Since no amount of safecracking skill could defeat a time lock, robbers abandoned attempts to open vaults and instead shifted their strategy toward intercepting cash in transit.
Electronic Locks and Smart Locks: The End of the Physical Key?
In the second half of the twentieth century, the very paradigm of the lock began to shift. Electronics were integrated into locking systems.
RFID (Radio Frequency Identification) technology was first developed in the 1970s, and products applying it to locks gradually appeared.[13] By 1992, electronic locks had been introduced commercially in personal storage facilities, and by 2013, RFID-based locking devices had entered widespread use.[13] Today, unlocking a door with a keycard or a smartphone app is routine in many hotels, offices, and apartment buildings.
Electronic locks embody a fundamentally different security philosophy from mechanical ones. A mechanical lock permits only a key with the correct physical form to operate it; an electronic lock permits only a device carrying the correct digital signal. Each card or device has a unique identification code that is difficult to replicate,[13] and the system can log access records or be unlocked remotely.
Yet electronic locks introduce new vulnerabilities of their own. They may fail if power is cut, and they are susceptible to software hacking and relay attacks. Security researchers have demonstrated that some smart locks can be opened by intercepting and cloning Bluetooth or RFID signals in transit.[14] As locks go digital, the battlefield of security shifts from physical space to cyberspace.
What Locks Bear Witness To
Looking across 6,000 years of lock history, one pattern stands out without exception: every chapter is shaped by the contest between two forces — those who lock and those who open. And it is the outcome of that contest that drives technological progress.
Egypt’s wooden pin lock was not merely a reflection of limited technology; it reflected a social consensus about what needed protecting and whose intrusion had to be prevented. Rome’s ring key reveals how the concept of property ownership became intertwined with social identity. Bramah’s challenge lock speaks to the commodification of “trust” and “safety” in the competitive capitalism of the nineteenth century, while Yale’s mass-produced key marks the moment when the Industrial Revolution transformed security from a privilege of the few into an everyday feature of ordinary life.
Today, in a world where a single smartphone controls dozens of locks, the lock is no longer a lump of physical metal. But the essential question it carries — “Whom do we trust, and from whom are we protecting what?” — has not changed in the slightest from the days when wooden pins were pressed into a wooden bolt thousands of years ago. A lock is not merely a piece of technology; it is a vessel holding the trust systems of its age.
References
[1]: Gizmodo, “In 1851, A Man Picked Two Unpickable Locks and Changed Security Forever” (factual reference; https://gizmodo.com/in-1851-a-man-picked-two-unpickable-locks-and-changed-1698557792); Mental Floss, “The Man Who Picked Victorian London’s Unpickable Lock” (factual reference; https://www.mentalfloss.com/article/501820/man-who-picked-victorian-londons-unpickable-lock)
[2]: LockJudge, “The History of Locks - Over 4000 Years” (factual reference; https://lockjudge.com/the-history-of-locks/); Britannica, “Lock” (factual reference; https://www.britannica.com/technology/lock-security)
[3]: Historical Locks, “Pin tumbler locks - Locks of wood and iron” (factual reference; https://www.historicallocks.com/en/site/h/articles/locks-of-wood-and-iron/pin-tumbler-locks/); Ancient Origins, “Security: The Long History of the Lock and Key” (factual reference; https://www.ancient-origins.net/history-ancient-traditions/locks-and-keys-0015361)
[4]: Wikipedia, “Warded lock” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Warded_lock); History of Keys, “History of Locks” (factual reference; https://www.historyofkeys.com/locks-history/history-of-locks/)
[5]: Historical Locks, “Keys and locks from Imperial Rome” (factual reference; https://www.historicallocks.com/en/site/h/other-locks/19-keys-and-locks-from-imperial-rome/roman-door-locks/); Wikipedia, “Lock and key” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Lock_and_key)
[6]: Wikipedia, “Warded lock” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Warded_lock); LockJudge, “The History of Locks” (factual reference; https://lockjudge.com/the-history-of-locks/)
[7]: Zero Day Gear, “Robert Barron and the Double Acting Tumbler Lock” (factual reference; https://zerodaygear.com/blog/robert-barron-double-acting-tumbler-lock); Wikipedia, “Lever tumbler lock” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Lever_tumbler_lock)
[8]: Britannica, “Linus Yale” (factual reference; https://www.britannica.com/biography/Linus-Yale); ASME, “Linus Yale, Jr.” (factual reference; https://www.asme.org/topics-resources/content/linus-yale-jr)
[9]: Wikipedia, “Pin tumbler lock” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Pin_tumbler_lock); Britannica, “Pin tumbler” (factual reference; https://www.britannica.com/technology/pin-tumbler)
[10]: Wikipedia, “Combination lock” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Combination_lock); Encyclopedia.com, “Combination Lock” (factual reference; https://www.encyclopedia.com/science-and-technology/technology/technology-terms-and-concepts/combination-lock)
[11]: Locksmith Ledger, “A Brief History of Sargent & Greenleaf on its 150th Anniversary” (factual reference; https://www.locksmithledger.com/locks/padlocks-high-security/article/10229715/a-brief-history-of-sargent-greenleaf-on-its-150th-anniversary); Lockly, “The History of Locks” (factual reference; https://lockly.com/blogs/all/the-history-of-locks)
[12]: Wikipedia, “Chubbsafes” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Chubbsafes); Guarda Safe, “History of the Fireproof Safe” (factual reference; https://www.guardasafe.com/news/history-of-the-fireproof-safe/)
[13]: Surveillance Video, “The Ancient History of Door Locks and Modern Smart Locks” (factual reference; https://www.surveillance-video.com/blog/the-ancient-history-of-door-locks-and-modern-smart-locks.html/); Digilock, “RFID Locks: The Touchless Advantage” (factual reference; https://www.digilock.com/blog/post/rfid-locks-the-touchless-advantage/)
[14]: ResearchGate, “Revolutionizing Home Security: A Comprehensive Overview of an Advanced RFID Door Lock System” (factual reference; https://www.researchgate.net/publication/378174857_Revolutionizing_Home_Security_A_Comprehensive_Overview_of_an_Advanced_RFID_Door_Lock_System_for_Keyless_Access_and_Smart_Home_Protection)