Oh that’s great! There are many pictures of this type of lock around, but when it comes to locks, you need a video/gif to illustrate how it works, right?
This is ye olde pin tumbler lock, an
Egyptian (c.2000 BCE)
improvement of an older Assyrian (c.4000 BCE) design:
It spread out from Egypt and it was used for thousands of years. The modern ubiquitous Yale lock is also called a pin tumbler, since it’s an elaborate (and tubular) version of the same basic concept.