Safe deposit and coin operated locks