Locks giving indication of {authorised} or unauthorised unlocking with counting or registering devices