'Read/write Boolean. |True| if this style is locked. A locked style
does not appear in the styles panel or the style gallery and cannot
be applied to document content. This behavior is only active when
formatting protection is turned on for the document (via the
Developer menu).'

@property
def locked(self):

    return self._element.locked_val
