Why is it called a locksmith?

The term “locksmith” is actually a derivation of the word “blacksmith.” During the Middle Ages, blacksmiths were the artisans who created metal battle gear for the knights and their horses. However, it wasn’t unusual for blacksmiths to also forge locks and keys.