Unthinkable today, in the past there were no possibilities to lock up valuables. You needed good hiding places to protect your valuables, but as prosperity grew, so did the uncertainty in this. The first attempts of locking devices were made around 5000 BCE. These locks had to be broken to be opened. The first keys were invented in Egypt around 1600 BCE. The greatest developments in locking technology happened in the 11th and 12th century.