/Engine/Source/Runtime/Engine/Classes/GameFramework/CheatManager.h
Toggle between debug camera/player camera without locking gameplay and with locking local player controller input.
virtual void ToggleDebugCamera()