|Microsoft DirectX 9.0|
The SetLocked method sets the object's editing state to locked or unlocked. A locked state indicates that the object should not be edited; an unlocked state indicates that the object can be edited. The timeline does not enforce the lock. The locked setting exists only for the convenience of the application.
object.SetLocked( newVal As Long )
Value that specifies the object's editing state. If zero, the object is unlocked and can be edited. If non-zero, the object is locked and should not be edited.
If the method fails, an error is raised.