Implemented lock_user