The Short Answer
Door locks were invented thousands of years ago. The earliest known locks were large wooden pin locks used in the ancient Near East and Egypt, with examples often described as around 4,000 years old. A wooden lock found in the ruins of the Assyrian palace at Khorsabad, in present-day Iraq, is one of the most frequently cited early examples, although estimates of its exact age vary.
Those early locks worked on the same basic idea as the pin tumbler lock on many front doors today: pins drop into a bolt to hold it in place, and the right key lifts them out of the way. The materials, size and precision have changed enormously, but the principle has lasted.
Ancient Wooden Pin Locks
The earliest door locks were made of wood and fitted on the inside of a door, with a large wooden bolt sliding into a bracket on the door frame. Wooden pins in the lock body fell into holes in the bolt, stopping it from moving.
The key was a long wooden bar, sometimes very large, with pegs set to match the pins. You’d reach through an opening in the door, push the key into the bolt and lift it, raising the pins so the bolt could slide open.
These locks offered real security for their time, mainly because a would-be intruder needed a key with the right peg pattern. Similar designs appeared in different parts of the ancient world, and versions of wooden pin locks remained in use in some regions for a very long time.
Roman Metal Locks and Keys
The Romans are credited with spreading metal locks widely. They used iron and bronze, which allowed smaller, stronger locks and keys. Roman locksmiths developed warded locks, in which fixed obstructions (wards) inside the lock block any key that doesn’t have matching cuts.
Roman keys could be small enough to wear on a ring, which was practical for people keeping valuables in chests and strongboxes. Locks were used on doors, but also on containers, which says something about how much people valued portable security.
Medieval Warded Locks
Through the Middle Ages, European locksmiths built on the warded design. Locks became more ornate, with decorated keyhole covers and elaborate keys, and the craft of the locksmith developed into a recognized trade with its own guilds.
The weakness of warded locks is that a simple tool shaped to avoid the wards, often called a skeleton key, can open many of them. For centuries, locksmiths tried to improve security with more complicated wards and decoration rather than a fundamentally new mechanism.
The Lock-Making Boom of the 18th and 19th Centuries
The real leap came in Britain during the Industrial Revolution, as better metalworking made precise mechanisms possible:
- Robert Barron (1778) patented a double-acting lever tumbler lock, in which levers had to be lifted to exactly the right height, not just high enough. That principle survives in the lever locks still used in many British timber doors.
- Joseph Bramah (1784) patented a high-security lock with a cylindrical key and sliders. His shop famously displayed a lock with a reward for anyone who could pick it.
- Jeremiah Chubb (1818) patented a “detector” lever lock designed to jam and show the owner if someone had tried to pick it.
- Alfred C. Hobbs (1851), an American locksmith, attracted attention at the Great Exhibition in London by picking both a Chubb lock and the Bramah challenge lock, the latter after an extended effort. It showed that even well-regarded locks weren’t unbeatable.
This era turned lock-making from a craft into an engineering field and started the ongoing contest between lock designers and lock pickers. The modern descendants of those 5-lever mortice locks are often tested to standards insurers ask for. Our article asking is TS007 equivalent to BS3621 covers how today’s standards compare.
Linus Yale and the Modern Pin Tumbler Cylinder
In the United States, Linus Yale Sr. worked on pin tumbler locks in the 1840s, bringing the ancient pin principle into metal. His son, Linus Yale Jr., patented a compact pin tumbler cylinder lock in the 1860s, operated by a small, flat key with a serrated edge.
That design is the ancestor of the cylinders in most homes today. Its advantages were compelling: small keys, many possible key combinations and a cylinder that could be mass-produced. The Yale name is still a major lock brand, and our comparison of Schlage vs. Yale looks at two of today’s best-known names.
20th-Century Locks
The 1900s brought locks to a mass market and added several designs that are now everyday items:
- Deadbolts. Key-operated bolts that can’t be pushed back without turning the lock became standard on exterior doors, especially in North America.
- Euro profile cylinders. A standardized cylinder shape developed in Germany became common across Europe and is now the norm in uPVC and composite doors in the UK. Our guide to the most secure euro cylinder locks covers how they’re protected today.
- Time locks and combination locks for banks and safes, which had developed from the late 19th century onward.
- Electronic keycards. Hotel keycard locks appeared in the 1970s, with the Norwegian company VingCard often credited with an early widely used system.
Commercial hardware also developed into a large industry of its own, with brands supplying locks, closers and fittings for offices and public buildings. If you’ve come across one such name, see who makes Eurospec locks.
Electronic and Smart Locks
From the late 20th century, keypad locks and electronic access control spread in offices and hotels. Since the 2010s, consumer smart locks have added Bluetooth, Wi-Fi and smartphone apps, letting people unlock doors remotely, share digital keys and check a lock’s status from anywhere.
Many smart locks still include a mechanical cylinder as a backup, which means the pin tumbler idea that started with wooden locks thousands of years ago is often still there inside the most modern devices. For how today’s electronic designs work, see how do digital door locks work.
Timeline
| Period | Development |
|---|---|
| Ancient Near East and Egypt (roughly 4,000 years ago, estimates vary) | Wooden pin locks with large wooden keys |
| Roman era | Metal warded locks and small metal keys |
| Middle Ages | Ornate warded locks; locksmithing becomes an organized trade |
| 1778 | Robert Barron’s double-acting lever tumbler lock |
| 1784 | Joseph Bramah’s high-security lock |
| 1818 | Jeremiah Chubb’s detector lock |
| 1851 | Alfred C. Hobbs picks the Chubb and Bramah locks in London |
| 1840s–1860s | Linus Yale Sr. and Jr. develop the pin tumbler cylinder lock |
| 20th century | Deadbolts, euro profile cylinders, electronic keycards |
| 2010s onward | Consumer smart locks controlled by smartphone |
Bottom Line
Locks for doors go back thousands of years to wooden pin locks in the ancient Near East and Egypt. The Romans made them in metal, medieval locksmiths refined warded locks, and 18th- and 19th-century inventors such as Barron, Bramah, Chubb and the Yales created the lever and pin tumbler locks that still secure most doors today. Electronic and smart locks are the newest chapter, but many of them still rely on a principle that’s thousands of years old.