How Locks Work by Carlo Clerici. This features a pin tumbler lock, invented by Linus Yale, Sr. in 1848.
Here’s another example in gif format:
Plus: Making a combination lock from a steel bolt.
Curated, kid-friendly, independently-published. Support this mission by becoming a sustaining member today.