The Lock on Your Front Door Copies a Design From the Ancient World
Linus Yale Jr. did not invent the pin tumbler. Ancient locks in Egypt and Mesopotamia used wooden pins dropped into a bolt and a key that lifted them. What the Yales did was shrink it, make it out of metal, and put it in a cylinder small enough for a door.

US48475 was granted to Linus Yale Jr. of Shelburne Falls, Massachusetts, on June 27, 1865. The title is "Improvement in Locks," one of a run of patents on his pin tumbler cylinder lock. If you own a house, the key in your pocket almost certainly works on this principle.
The principle is thousands of years old.
Ancient wooden locks used a bolt with a set of vertical pins that dropped into matching holes and jammed it in place. The key was a wooden bar with pegs sticking up from it. Insert it, lift the pins to the right height, and the bolt slides. The basic idea may go back as far as Egypt around 2000 BCE; an early surviving example was found in the ruins of the Assyrian palace at Khorsabad, built under Sargon II around 700 BCE, and the design shows up across the ancient Near East.
Yale's contribution was not the idea. It was making the idea small.
What was wrong with locks in 1860
Lock technology in the mid nineteenth century was dominated by lever tumbler mechanisms, and the good ones were large, heavy, and expensive. Bank vaults and strongboxes got serious locks. Ordinary doors got weak warded locks that a competent thief could open with a bent piece of wire, because the mechanism was little more than a set of obstructions that a skeleton key could avoid.
The gap was economic. Nobody had a design that was both hard to pick and cheap enough to hang on every door in a city.
The cylinder
Yale Jr.'s father, Linus Yale Sr., had already built a modern pin tumbler lock in 1848. The son, in a patent of 1861 and the ones that followed, worked out how to build the principle at small scale in metal, with a flat, serrated key.
His cylinder holds a row of pin stacks. Each stack has two pieces, a driver pin above and a key pin below, pushed down by a spring. With no key in the lock, the drivers cross the gap between the rotating plug and the housing, so the plug cannot turn. The correct key lifts every stack exactly enough that the split between driver and key pin lands flush at that gap, called the shear line. Then the plug rotates.
The important consequence is combinatorial. With five pins and several possible heights each, the number of distinct keys runs into the thousands, and they can be cut cheaply on a machine. The lock became mass producible and individually unique at the same time.
The second consequence is the flat key. Earlier keys were bulky. A pin tumbler needs only a thin serrated blade, which is why keys became small enough to carry a handful of them.
What came after
Yale founded the company that still bears his name, and the cylinder became the world standard for doors. It has been attacked continuously ever since. Picking a pin tumbler exploits manufacturing tolerances, setting pins one at a time until all of them happen to sit at the shear line. Bump keys, rakes, and impressioning all work on the same weakness.
Lockmakers have answered with security pins shaped like spools and serrated columns that give false feedback, with tighter tolerances, and with sidebars that add a second condition beyond the shear line.
None of it changed the underlying architecture. A modern high security lock is still a set of pins that a key lifts to a line, which is what the Egyptians were doing with wood.
See the original
The full text and figures of US48475 are on Google Patents.

Related stories

Mark Twain Patented a Strap to Replace Suspenders. He Thought Its Advantages Needed No Explanation.
In 1871 Samuel Clemens of Hartford patented an elastic strap that buttoned onto a vest or trousers and moved from one garment to the next. It was the first of his three patents. The story that it became the bra strap is mostly folklore.
Read the story →
Mary Kenner Designed a Sanitary Belt in the 1920s. A Company Dropped It When It Learned She Was Black.
Mary Beatrice Davidson Kenner came up with an adjustable sanitary belt as a young woman and could not afford to patent it for 30 years. When a company finally showed interest, it walked away on learning she was Black. She went on to earn five patents while working as a florist.
Read the story →
The Man Who Patented the Pringles Can Was Buried in One
Procter & Gamble chemist Fredric Baur was asked to fix the potato chip bag: too much air, too many broken chips. His answer was a stack of identical saddle-shaped crisps in a sealed tube. When he died in 2008, his family put part of his ashes in one.
Read the story →
Twister's Patent Is Titled 'Apparatus for Playing a Game Wherein the Players Constitute the Game Pieces'
The patent title is the whole idea: the people are the pieces. Milton Bradley released the game in 1966, some retailers were wary of it, and critics found it a little too intimate. Then Johnny Carson played it on television with Eva Gabor, and the orders poured in.
Read the story →