Locks giving indication of authorised or unauthorised unlocking