Determines whether the layer record object is accessible for selecting and editing (DXF 70, bit 0x04) and returns True if the layer is locked or False if the layer is editable.
Example of Working with the Layer Record Object
Status of Layers
OdDbLayerTableRecord::setIsLocked() method