When did the earliest recognizable lock and key system originate?

Answer

Roughly 6,000 years ago in Egypt

The earliest definitive evidence of a mechanism recognizable as a lock and key dates back approximately 6,000 years and originated in ancient Egypt.

When did the earliest recognizable lock and key system originate?
inventionsecuritysystemmechanismlock