Locks or unlocks a layer.
See Also | Example
The object or objects this property applies to.
TRUE: The layer is locked.
FALSE: The layer is unlocked.
You cannot edit objects on a locked layer; however, they are still visible if the layer is on and thawed. You can make a locked layer active and you can add objects to it. You can also apply object snap modes to objects on locked layers. You can freeze and turn off locked layers and change their associated colors.
Locking is useful when you want to edit objects that are associated with particular layers but also want to view objects on other layers.