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.
How a door handle lock works.
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.
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.
When the door is unlocked a part called a tang is resting fully inside of the cylinder.
The two most common types of locks in a home are simple key locks in a doorknob and deadbolt locks.
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.
Round pocket door locks often fit in a standard 2 1 8 hole allowing you to use an existing door for a pocket door.
When it s locked the cylinder engages a series of spring loaded pins which keep the cylinder from turning.
Key locks contain a small cylinder that runs down the middle of the doorknob and into the door.
The spindle runs through the latch bolt which is inside the door perpendicular to the spindle.
Normal doorknob locks have five pairs of pins which interact with a single key to lock or unlock the door.
A door handle controls a door by manipulation of a latch a mechanical fastener that joins two or more objects together.
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 pins are placed in pairs with one on top of the other.
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.
Each pair rests in a shaft which is drilled through the cylinder and the housing around the cylinder.
Springs at the top of the shaft keep the pins in place.