[]
Gets or sets whether the object is locked.
Returns true if the object is locked, or false if the object
can be modified when the worksheet is protected.
bool Locked { get; set; }
Property Locked As Boolean
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.Locked = true;
bool locked = shape.Locked;