> For the complete documentation index, see [llms.txt](https://docs.macilib.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.macilib.org/docs/maci/object/methods/get_locked_list.md).

# get\_locked\_list

Generates a list of the [MaciDataObj's](/docs/maci/object.md) currently locked attribute names, and returns a list. This method currently has no parameters.

Useful if it is desired to view or reference all currently locked attribute names.

{% hint style="info" %}
data.get\_locked\_list()  ->  list\[str]
{% endhint %}

\
*Basic Example of getting a list of the currently locked attribute names of the* [*MaciDataObj*](/docs/maci/object.md)

```python
list_data = data.get_locked_list()
```

In this example, we simply use the get\_locked\_list method on the [MaciDataObj](/docs/maci/object.md) to get a generated copy of the currently locked attribute names, currently held inside the maci object, as a list of strings, and assign the returned list data to a variable.

### partner methods

Methods that provide related utility to this method

[lock\_attr](/docs/maci/object/methods/lock_attr.md)  ->  Lock an attribute name\
[unlock\_attr](/docs/maci/object/methods/unlock_attr.md)  ->  Unlock an attribute name<br>
