Sets the Lock status as a Boolean value (DXF 70, bit 0x04). The initial value is False (Editable) by default.
Example of Working with the Layer Record Object
Status of Layers
OdDbLayerTableRecord::isLocked() method