A pin-tumbler lock cut open. Slide in the right key, then a wrong one, then try a pick and a rake, and watch the line where the plug turns.
The notes
A pin-tumbler lock, cut open. The brass plug turns inside the housing, and five stacks of pins cross from one to the other.
Each stack is a key pin, a driver pin and a spring. While any pin crosses the glowing shear line, the plug can't turn.
Drag the key's bow to slide it in. The pins ride up and down its cuts, and drop into their own cuts as it goes home.
With the right key home, every gap between a key pin and its driver sits on the line. Drag the dial's needle and the plug turns.
Tap the wrong key on the tray. Two of its cuts are three steps out, so one pin stops too low and one too high.
Each step on a key is about a third of a millimetre. Three steps is under a millimetre, and it's enough to block the plug.
Tap the pick and turn the dial a little. The holes are drilled very slightly out of line, so one pin binds before the rest.
Slide the pick under the binding pin and drag its tip up. At the line its driver catches on the plug and stays up, and that pin is set.
Then the next pin binds. Set all five, one at a time, and the plug turns with no key at all.
Tap the rake and keep a light turn on. It scrubs the pins up and down, and each binding pin catches when it happens to reach the line.
Key, pick or rake, every way in does the same job. It brings every gap in the stacks to one line, where the plug meets the housing.
How accurate it is
Exact
The plug turns only when no pin crosses the shear line: every gap on the line, or every driver held above it.
The key's cut depths step by 0.3175 mm (0.0125 inch) and its cuts are 3.81 mm (0.150 inch) apart, as on a Schlage small-format core. The wrong key's two cuts are 0.95 mm out.
Simplified
Five pins, where the Schlage core these depths come from has seven. The plug, pins, springs and keyway are drawn to look right, not to a drawing.
The plug opens at 30° at most, a third of a real turn, so the cut face still reads. It gives about half a degree for each pin set, far more than the real few hundredths of a millimetre, so it can be seen.
How far each hole is off line (0.009 to 0.041 mm) and how close to the line a gap must be (0.1 mm) are plausible numbers, not measured ones.
A binding pin stops at the line and sets there. A real one can be pushed past (overset) and jam until the turn is let off. Turning too hard, which makes pins hard to lift, isn't modelled either.
The rake scrubs by itself, faster and more regularly than a hand would. Security pins, wear and friction in the keyway are left out.