/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h
Set the actor lock. This is the actor locked to the viewport via the viewport menus.
void SetActorLock ( const [FLevelViewportActorLock](API\Editor\UnrealEd\FLevelViewportActorLock) & InActorLock )