/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h
Sets the mouse locking behavior of the viewport
[FInputModeUIOnly](API\Runtime\Engine\GameFramework\FInputModeUIOnly) & SetLockMouseToViewportBehavior ( EMouseLockMode InMouseLockMode )