UActorGroupingUtils::LockSelectedGroups

Locks any groups in the current selection