Coin-operated deposit locks