the warded lock was also present from antiquity and remains the most recognizable lock and key design in the western world the first all-metal locks appeared between the years  and  and are attributed to the english craftsmen it is also said that the key was invented by theodorus of samos in the th century bc