A lock is a mechanical or electronic fastening device that is released by a physical object (such as a key, keycard, fingerprint, RFID card, or security token), by supplying secret information (such as a keycode or password), or by a combination thereof. wikipedia
Lock is said to be more than 4.5 thousands year old. The earliest locks were made of wood and was discovered in the ruins of Nineveh, the capital of ancient Assyria (Persia) in the palace security gate of King Sargon II. They were similar to wooden cane-tumbler locks in appearance and operation.
Timeline of History of Locks
According to Schlage’s history of locks, first all-metal lock was invented between 870 and 900 by an English craftsmen and the key was invented by Theodore of Samos in the 6th century BC. Schlage is one of the most popular lock manufacturer founded in 1920 by Walter Schlage in San Francisco which was acquired by Ingersoll Rand in 1974.
With the advent of the Industrial Revolution in the late 18th century, most complicated and sophisticated locks and keys were manufactured. In the mid 1770s, lever tumbler lock was invented. The lever tumbler lock used a set of levers to prevent the bolt from moving in the lock. The lever tumbler lock mechanism was perfected by Robert Barron in 1778 and he modified the old lever tumbler lock by introducing double acting lever lock which is still currently used today.
The lever tumbler lock was again improved by Jeremiah Chubb in 1818, when British Government announced a competition to produce a lock that could be opened only with its own key. The competition was organised after a famous burglary in Portsmouth Dockyard. A Chubb detector lock was the most advanced and secure tumbler lock of the time. When someone tried to pick the lock or to open it using the wrong key, the lock was designed to jam in a locked state until special regulator key or the original key was used to open.
In 1784, the movable levers lock (invented by Barron and Chubb), was replaced by an alternative method developed by Joseph Bramah. His lock used a cylindrical key that impeded the turning of the bolt into an exact alignment, to open the lock. The lock was said to be unpickable at that time. Bramah started the Bramah Locks company and organised a competition challenging to pick or open his lock for a reward of £200. The challenge remained untouched for over 67 years until, in 1851 at the Great Exhibition, the American locksmith Alfred Charles Hobbs was able to open the lock after some 51 hours.
In 1805, double-acting pin tumbler lock was patented by American physician Abraham O. Stansbury of England. The modern version of the same lock, which is still in use today, was invented by American Linus Yale, Sr. in 1848. Few years later, Linus Yale, Jr. made some serious modification in the old design of pin-tumbler lock and invented smaller flat key with serrated edges within the lock itself. The same modified pin-tumbler lock remains in commercial use today.