Today there are many different kinds of locks. Some are very simple locks that open with a key or a combination of numbers. Others are extremely complicated locks that open with fingerprints or special electronic keycards. Today's locks feature many different types of mechanical and technological systems to increase security.
To get a basic understanding of how locks work, let's take a look at two common types of locks: combination locks and pin-and-tumbler locks. These common locks are the ones you're most likely to see on a day-to-day basis.
Combination locks can be found in all sorts of places. From gym lockers to shed doors to secret diaries, combination locks allow their contents to be accessed only by those who know the secret combination of numbers that will open the lock.
A typical combination padlock, for example, contains a wheel pack. The wheel pack contains one wheel for each number in the combination. Each wheel in the wheel pack has a small tab — called a wheel fly — on each of its sides.
As you continue to dial in the correct combination, the wheel fly on each subsequent wheel makes contact until all the wheels are spinning. When you get to the last digit of the combination, all wheels will be lined up perfectly.
Notches cut into each wheel will also be aligned. These notches form a gap that will allow the lock to release and open.
When the right key slides into a pin-and-tumbler lock, the pointed teeth and notches on the blade of the key allow the spring-loaded pins to move up and down until they line up with a track called the shear line. When the pins align with the shear line, the cylinder can turn and the lock will open.