Merge pull request #9459 from iwubcode/freelook_state_lock FreeLookManager: acquire global input lock