Add messages for locking and unlocking