Sets or returns a boolean representing whether or not Word will lock the Styles in this document.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean StylesLocked{ get; set; }
</pre></td></tr></table>
<p>Public Property StylesLocked() As Boolean</p>

          //--- Get StylesLocked
          bool stylesLocked = docProtect.StylesLocked;

          //--- Set StylesLocked
          oDocumentProperties.StylesLocked = true;
        

          '--- Get StylesLocked
          Dim stylesLocked As Boolean = docProtect.StylesLocked

          '--- Set StylesLocked
          docProtect.StylesLocked = True