Answer:
because if not metal than other things like glass wood or fabric would break or not be suitable for the key hole , physical properties of a metal key : luster, good thermal and electrical conductivity, and the capability of being permanently shaped or deformed at room temperature.