Pick the Lock: lesson plan
Students open eight see-through pin tumbler locks, from a diary to a bank vault, and use what they feel to explain how a key lines up the shear line, why no lock is machined perfectly, and how engineers count the possible keys.
- Ages
- 11–16 (grades 6–10)
- Time
- 50 minutes
- Subject
- Design and technology: mechanisms, tolerances and security
- You need
- Devices with a browser (one per pair), an old key or a photo of one, optional cutaway lock or diagram of a pin tumbler cylinder
Open Pick the Lock Jump to the quiz
Learning objectives
By the end of the lesson, students can:
- Label the plug, housing, key pins, driver pins, springs and shear line of a pin tumbler lock and explain how the correct key lets the plug turn.
- Explain that manufacturing tolerances make one pin bind at a time, and that this is the weakness lock picking uses.
- Use the product rule to count the possible keys for a lock with a given number of pins and cut depths.
- Describe how security pins (spool pins) and extra pins make a lock harder to pick, and discuss the trade-off with cost.
- State the ethical and legal rule: only ever pick a lock you own or have permission to open.
Key vocabulary
- Plug
- The cylinder inside the lock that the key turns. When it rotates, it moves the bolt or releases the shackle.
- Key pin and driver pin
- Each pin stack has a key pin (touching the key) under a driver pin, pushed down by a spring.
- Shear line
- The narrow gap where the plug meets the outer housing. The plug turns only when every pin stack splits exactly there.
- Tolerance
- The amount a manufactured part is allowed to differ from its design size. In locks it is a few hundredths of a millimetre.
- Binding pin
- The one pin that is pinched first when the plug is turned slightly, because its hole is very slightly out of line.
- Bitting code
- The list of cut depths on a key, one digit per pin. In the game each digit runs from 0 to 9.
Background for the teacher
A pin tumbler lock, patented in its modern form by Linus Yale Jr. in the 1860s, has a plug that turns inside a housing. Stacks of pins cross the boundary between them: a key pin below, a driver pin above, pressed down by a spring. With no key, the driver pins sit across the shear line and block the plug. The right key has a cut of the right depth under each stack, lifting every gap exactly to the shear line.
Picking works because nothing is perfect. The pin holes are drilled along a line, but each is off by a tiny amount, so when you apply light turning force (tension) only one pin is pinched: the binding pin. Lift it to the shear line, the plug turns a fraction further, and a different pin binds. The game models this: each lock has a random binding order, a tolerance window that shrinks from the 3-pin Diary to the 8-pin Bank vault, and spool pins that give a false set. After each lock it shows the bitting code. With 10 possible depths per pin, a 5-pin lock allows 105 = 100,000 different keys and an 8-pin lock 100,000,000, though real manufacturers use fewer because some combinations are impossible to cut.
Warm-up (5 minutes)
- Pass round a house key (or show a photo). Ask: “Why do the cuts on a key have different depths? What do you think is inside the lock?” Let pairs sketch a guess.
- Ask: “If a key has 5 cuts and each cut can be one of 10 depths, how many different keys are there?” Collect answers before revealing 100,000.
- Set the ground rule: picking a lock that is not yours, or that you do not have permission to open, is wrong and in many places illegal. Today is about how the mechanism works.
Activity with the game
- Pairs open Pick the Lock and play Diary (3 pins). Drag up on the lock to lift a pin, drag sideways to change pin; on a keyboard use the arrows and R to release. One student picks, the other watches the cutaway and names each part aloud.
- Play School locker and Bike lock. Pairs write down how they could tell which pin was binding (it scrapes and moves slowly; the yellow highlighter helps at first) and what happened when they pushed too far (it jammed above the shear line).
- Play Front door, where the hints stop. Record the time and the number of jams. Pairs discuss: what made it harder, and what does that tell you about real locks?
- Play Padlock, which adds a spool pin. Pairs describe the false set in their own words: the plug turns a little, then catches, and the pin needs a second, gentler lift.
- At the end of each lock, copy down the bitting code the game shows. Use the product rule to calculate how many keys are possible for 3, 5, 6, 7 and 8 pins with 10 depths each, and record them in a table.
- Design discussion in pairs: a manufacturer can add pins, add spool pins or tighten tolerances. Rank these by how much they improve security and how much they add to cost, and justify the ranking.
Discussion questions
- Why does the correct key let the plug turn?
Show a model answer
Each cut lifts its key pin by exactly the right amount, so the gap between the key pin and driver pin sits at the shear line. With every stack split at the shear line, nothing crosses the boundary and the plug is free to rotate.- If locks were machined perfectly, could they be picked this way?
Show a model answer
Not one pin at a time. With perfectly aligned holes, every pin would bind at once and you could not set them individually. Picking exploits the tiny misalignments, a few hundredths of a millimetre, that every real lock has.- How many keys can a 6-pin lock with 10 depths have, and why is the real number smaller?
Show a model answer
10 × 10 × 10 × 10 × 10 × 10 = 1,000,000. Manufacturers rule out some combinations, for example a very deep cut next to a very shallow one, because the key would be too weak or impossible to cut, so the usable number is lower.- How does a spool pin fool a picker?
Show a model answer
Its narrow waist catches at the shear line and lets the plug turn slightly, which feels like success. Then the wide end catches again. The picker has to ease off tension and lift a little further to set it properly.- Why is locksport legal but picking other people’s locks is not?
Show a model answer
Owning and picking your own locks harms no one and helps people understand security. Opening a lock without permission is entering property that is not yours, which is a crime in most countries whatever the tool.
Common misconceptions
- A key works by pushing a lever inside the lock.
- In a pin tumbler lock the key lifts several small pin stacks to precise heights. It is the alignment of every gap at the shear line, not a push, that lets the plug turn.
- More combinations always means a lock is harder to pick.
- Picking sets pins one at a time, so the number of combinations matters less than the number of pins, the tolerances and security pins. Combinations protect against wrong keys, not against picking.
Quick quiz
What has to line up for the plug to turn?
- The tops of all the driver pins
- Every gap between key pin and driver pin, at the shear line
- The springs with the keyhole
- The bolt with the door frame
Answer
B. The plug turns only when no pin crosses the shear line.
Why does only one pin bind at a time when you apply tension?
- The springs are different strengths
- The pin holes are very slightly out of line
- The key pushes on it
- Gravity pulls it down
Answer
B. Machining tolerances mean one hole is pinched first when the plug turns slightly.
A lock has 5 pins and each can be cut to 10 depths. How many keys are possible?
- 50
- 500
- 100,000
- 10,000,000
Answer
C. Using the product rule, 10 × 10 × 10 × 10 × 10 = 10⁵ = 100,000.
What does a spool pin cause?
- A jam that cannot be undone
- A false set
- The plug to turn backwards
- The key to break
Answer
B. Its narrow waist lets the plug turn a little and then catch, fooling the picker.
Who patented the modern pin tumbler lock in the 1860s?
- Thomas Edison
- Linus Yale Jr.
- Isaac Newton
- Joseph Bramah
Answer
B. Linus Yale Jr. patented his pin tumbler designs in the 1860s, building on ideas going back to ancient Egypt.
When is it acceptable to pick a lock?
- Whenever you have the tools
- When the owner is away
- Only when it is yours or you have permission
- Never, in any situation
Answer
C. Picking your own locks, or with permission, is legal in many countries; anything else is not.
Going further
- Design challenge: sketch a cross-section of a lock with a 4-digit bitting code of your choice, showing pin heights for the correct key and for a wrong key.
- Maths: if someone could try one key per second, how long would it take to try every key for a 5-pin and an 8-pin lock? Give your answers in sensible units.
- Research: compare a pin tumbler lock with a lever lock, a disc detainer lock or a combination padlock. Which principle does each use?
Curriculum links
- England National Curriculum, KS3 Design and technology: understand how more advanced mechanical systems used in their products enable changes in movement and force.
- England National Curriculum, KS4 Mathematics: apply systematic listing strategies, including use of the product rule for counting.
The science in this plan matches the notes and sources under Pick the Lock. Free to use and adapt for teaching. Ideas or corrections: hello@notebookfun.com.