Defense Against Methods of Entry (DAME), techniques like this were referred to as "rapping". Many locksmiths keep leather and rubber mallets handy as you can "rap" many padlocks and don't even need a key in the keyway!
Jim