Checking if login lock is enabled