Handle no logged user when firing lock.