What operational principle defined the initial locking system, such as the Egyptian or Nineveh lock?

Answer

The pin-tumbler principle

The initial locking system operated on the pin-tumbler principle, where lifting wooden pegs allowed the bolt to slide free.

What operational principle defined the initial locking system, such as the Egyptian or Nineveh lock?
Originsecuritymechanismlockkey