How the correct key lets a pin-tumbler lock turn
A common pin-tumbler lock contains spring-loaded pin pairs that block its inner cylinder from rotating. The correct key lifts each pair until the boundary between its two pins aligns with the cylinder's edge. With no pins crossing that turning boundary, the cylinder can rotate and operate the lock.
Go deeper
Aligning several small boundaries
A pin-tumbler lock has a rotating plug inside a fixed housing. Rows of spring-loaded pin pairs sit across the boundary between them, called the shear line.
Without the correct key, parts of the pins cross that boundary and obstruct rotation. The key's cut profile raises each pair by a different amount. With the correct profile, the separation between every pair aligns with the shear line.
The key arranges the pins so the plug can move. It does not simply push one large latch directly out of the way.
- Springs press the pin stacks towards the keyway.
- The key positions the individual stacks.
- The freed plug turns a connected locking mechanism.
This explains one common lock design. Other locks use different internal mechanisms, so a metal key does not imply that every lock contains pin pairs.