How a Lock Works

Free checklistCall
Home » How a Lock Works

A pin-tumbler lock turns only when the correct key lifts every pin stack so the gap between key pin and driver pin lines up at the shear line. Wrong key, wrong heights, and the driver pins block the plug from turning.

Do I Really Need a Locksmith? · Bill’s DIY series

“I can do this myself.” Do I really need a locksmith?

Verdict: Maybe

One lock or two? How a lock really works

Get the free Lock-Check Checklist →Free · printable

A common mechanical door lock uses a cylinder to decide whether the correct key can rotate. Inside a pin-tumbler cylinder, spring-loaded pin pairs cross the boundary between the rotating plug and the surrounding shell. The proper key positions each pair so that boundary—called the shear line—is clear.

This lesson explains the concept, terminology, and diagnostic value of that mechanism. It does not provide bypass instructions, complete pinning calculations, or a substitute for supervised hands-on training.

Watch: How a Pin-Tumbler Lock Works

Watch the pin stacks and shear line in a real Kwikset lock. Watch on YouTube.

The video is part of the training and provides the visual step-by-step demonstration of the mechanism. The written lesson below supplies the complete terminology, deeper explanation, troubleshooting context, and reference points that do not fit in the video.

The main parts inside a pin-tumbler cylinder

  • Key: the shaped control that enters the keyway and raises the internal pin stacks.
  • Keyway: the shaped opening through the plug that guides a compatible key profile.
  • Plug: the inner portion that rotates when the shear line is clear.
  • Key pins: the lower pins that contact the key cuts.
  • Driver pins: the upper pins that normally cross from the shell into the plug and prevent rotation.
  • Springs: the parts that push each pin stack toward the keyway.
  • Shell or cylinder body: the stationary housing around the plug.
  • Shear line: the circular boundary where the rotating plug meets the stationary shell.

What happens when the correct key enters the lock

With no key inserted, springs push the pin stacks downward and driver pins extend across the shear line. That blocks the plug from rotating. An incorrect key raises the stacks to mismatched positions, so one or more pins still cross the boundary.

The correct key raises each stack to its intended height. The split between every key pin and driver pin aligns at the shear line, leaving the plug free to rotate. The plug can then operate the connected cam, tailpiece, latch, or bolt mechanism appropriate to that lock.

The cylinder and the door hardware are different systems

The key cylinder controls rotation, but it is not the entire lock. A deadbolt also includes a bolt, housing, thumbturn or interior control, and door/frame relationship. A knob or lever lock includes a latch and additional operating hardware. A correctly turning cylinder cannot compensate for a misaligned strike, loose installation, damaged latch, or door movement.

That distinction is essential for diagnosis. If a key turns when the door is open but binds when the door is closed, the problem may be alignment rather than pinning. Continue with how a deadbolt works and Common Lock Problems to see how the cylinder interacts with the rest of the opening.

Why this foundation matters for locksmith training

Pin-tumbler fundamentals support later lessons about key wear, cylinder service, rekeying concepts, and lock diagnosis. They also teach a larger habit: identify the mechanism before choosing a tool or service. Read what rekeying means for the next conceptual step.

Not every lock uses pin tumblers. Wafer, disc-detainer, lever, magnetic, electronic, and other systems use different components and control principles. Do not assume that a method or diagnosis for one mechanism transfers automatically to another.

Locksmith Blueprint Learning System

Watch It. Read It. Do It.

Watch It

Use the video to see the plug, pin stacks, springs, key, and shear line working as one mechanism.

Read It

Use the written definitions to separate the cylinder from the latch, bolt, door, frame, and other hardware around it.

Do It

Draw a labeled cross-section from memory. Include the plug, shell, key pin, driver pin, spring, and shear line, then compare it with the lesson.

Printable guides from Bill

Put it to work at home

Bill’s free checklist helps you identify a lock problem before you buy parts. The bundle covers every door, window, code and key.

Printable PDFs from Kwikpick Lock and Safe. Instant download, checkout by Gumroad. More for new homeowners on our new homeowner page.

Parts and tools for this problem

Start with the matching checks in Bill’s field guides. Buy only after you identify your hardware and the cause.

The correct spare key before a replacement lock

A known working spare can help separate key wear from a lock problem. Do not order a cylinder or spray a product into it based on resistance alone.

Compare worn-key symptoms →

No affiliate purchase links are active in this section. If we add commission-earning links, they will be identified here and next to the link.

Compare parts by problem → · Find another fix →
Locksmith Blueprint shield logo

Locksmith BlueprintLocks Made Simple

Real locksmith know-how from Bill, a working locksmith in Arizona: short videos, plain-English guides and printable checklists.