Each pair rests in a shaft which is drilled through the cylinder and the housing around the cylinder.
How a door handle lock works.
There is also quite a good diagram on this site in the section called how do yale locks work showing how the pins line up when the key is inserted.
The two most common types of locks in a home are simple key locks in a doorknob and deadbolt locks.
A door handle controls a door by manipulation of a latch a mechanical fastener that joins two or more objects together.
Inside the cylinder are all the parts that work together with the key to lock or unlock the door.
Springs at the top of the shaft keep the pins in place.
Key locks contain a small cylinder that runs down the middle of the doorknob and into the door.
When the door is unlocked a part called a tang is resting fully inside of the cylinder.
Normal doorknob locks have five pairs of pins which interact with a single key to lock or unlock the door.
The pins are placed in pairs with one on top of the other.
Most square pocket door locks feature a simple lever that flips out from the door edge and acts as a finger pull to slide the door out of the pocket.
Round pocket door locks often fit in a standard 2 1 8 hole allowing you to use an existing door for a pocket door.
The latch bolt is connected to the latch which protrudes from the edge of the door and engages the door frame preventing the door from opening.
In this case a latch connects the door with its frame and tends to embody a sliding bolt installed in the door and a receptacle in the frame.
The key to match the particular lock lifts the pins to the correct height to allow the latch the part that protrudes into the door frame to be pulled back against the spring allowing the door to open.
A standard doorknob lock set consists of a pair of knobs one on each side of the door that are connected through the door by a spindle and held together by mounting bolts.
Cylinder lock body the cylinder or lock body is the part of the door lock where you insert the key.