Bonus info: How to open a door without a key. Hairpins at the ready.
If you've ever wondered how a Yale lock works, wonder no more.
They're also known as "pin tumbler locks", so the clue is really in the name.
Stian Berg Larsen / Via youtube.com
If you need to see that again, here's a similar diagram that makes it even clearer.
The key (pun intended) is to get the breaks in the pins to line up so you can turn the barrel in the lock.
The Bored Ninja / Via dailydot.com
Well, you could always use what you've learnt to pick the lock.
This animation was made by Stian Berg Larsen, who also made the animation showing how a lock works.
All you need is a tool to make the pins line up and something to turn the lock's barrel.
Stian Berg Larsen / youtube.com