/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h
Check whether this viewport is locked to the specified actor
bool IsLockedToActor ( [AActor](API\Runtime\Engine\GameFramework\AActor) * Actor ) const