/Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h
Locks or unlocks look input, consecutive calls stack up and require the same amount of calls to undo, or can all be undone using ResetIgnoreLookInput.
virtual void SetIgnoreLookInput ( bool bNewLookInput )