ArcGIS Pro 2.6 API Reference Guide
Locked Property

ArcGIS.Core.CIM Namespace > CIMElement Class : Locked Property
Gets or sets a value indicating whether the element is locked. Each element in the contents pane has a lock icon. If the icon is shown as locked, you can not select that feature in the layout using the select tool.
Syntax
public bool Locked {get; set;}
Public Property Locked As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

CIMElement Class
CIMElement Members