PastloomThe Stories That Shaped Our World
Home · All Articles · Inventions in History
✓ OUR ARTICLE
Inventions in History

History of Keys and Locks

This article is written in English. Choose a language to open an automatic translation by Google Translate. Automatic translations can sometimes get historical names and dates wrong — for full accuracy, read the original English article.

History of Keys and Locks — Mechanical or electronic fastening device
Solex 99 30 lock with keys (DSCF2659).
Image: Trougnouf · CC BY 4.0 · Wikimedia Commons

As soon as people owned things worth stealing, they needed locks. The oldest known lock comes from ancient Egypt and Mesopotamia, about 4,000 years ago — and its basic idea is still used in doors today.

A lock is a puzzle that only one key can solve. The long contest between lock-makers and lock-breakers has driven this small invention forward for forty centuries.

Key Facts

The wooden lock of Egypt

The Egyptian lock was a wooden bolt across a door, with pins hanging down into holes in the bolt. The key — a wooden peg with matching pins — was pushed in and lifted, raising the pins so the bolt could slide.

It was large and made of wood, yet its principle, pins of different lengths blocking a bolt, is exactly the principle inside most front-door locks today.

Iron keys of Rome and the Middle Ages

Roman locksmiths worked in metal, making smaller, stronger locks and keys — some so small they were worn as rings, showing that the wearer had property to protect. Roman keys opened padlocks, chests and doors across the empire.

In medieval times, locksmiths became artists, covering locks with iron leaves, coats of arms and secret tricks. Churches and castles guarded treasure behind doors with several locks, each opened by a different keeper.

The modern lock

In the 1800s, inventors like Linus Yale and his son perfected the pin tumbler lock with a small, flat key — cheap, strong and made by the million. Safes, padlocks and car keys followed.

Today many doors open with cards, codes or fingerprints. Yet the mechanical key survives — a 4,000-year-old Egyptian idea, still jingling in pockets all over the world.

Did You Know?

Some Roman keys were made as finger rings — so the owner literally wore the key to their strongbox on their hand.

Related Topics

History of Umbrellas History of Furniture History of Bathing The Lighthouse

Sources

Reviewed: 22 November 2026

Read this article in the interactive Pastloom reader →