How to reproduce:
1. Open the attached project (IN-21100.zip)
2. Make sure the "Main" scene is open
3. Press "Ctrl+7" to open the Profiler window and make sure it's recording
4. Enter Play Mode
5. Click and move the cursor in the Game view to lock the cursor
6. Observe the Profiler graph movement and the cube in the Game view
Expected result: the graphs keep updating and showing new information, and the cube keeps falling
Actual result: the graphs stop updating and the cube stays frozen until the cursor is unlocked
Reproducible with: 2022.2.0b13, 2023.1.0a5, 2023.1.0a16
Not reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1, 2023.1.0a4
Reproducible on: Ubuntu 20.04
Not reproducible on: Windows 10
Note: The issue is also visible in the Game view's "Stats" panel which stops updating when the cursor is locked