
## set_locked_property(self, type, value) {#aspose.cells.drawing.ShapeLockType-bool}

Set the locked property.



```python

def set_locked_property(self, type, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.drawing.ShapeLockType | The locked type. |
| value | bool | The value of the property. |

### Example 


```python
from aspose.cells.drawing import ShapeLockType

shape.set_locked_property(ShapeLockType.ADJUST_HANDLES, True)

```



### See Also
* module [`aspose.cells.drawing`](../../)
* class [`CellsDrawing`](/cells/python-net/aspose.cells.drawing/cellsdrawing)
