Lockable faucet, useful for outdoor taps