add user data and message to lock command