add function to lock the current user.