Reproduction steps:
1. Open the attached “MouseLock.zip” project
2. Enter the Play mode
3. Exit the Play mode
4. Click anywhere in the Game view
Expected result: The mouse cursor does not get locked and hidden in the Game view
Actual result: The mouse cursor gets locked and hidden in the Game view
Reproducible with: 2021.3.41f1, 2022.3.39f1, 6000.0.12f1
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested
Note: Pressing the “Esc” key unlocks and shows the cursor again