Sets or returns a boolean representing whether or not Word will autoformat to override a style lock down in this document.

public boolean AutoFormatOverride{ get; set; }
Public Property AutoFormatOverride() As Boolean

MS Word equivalent: Tools menu > Protect Document... > 1. Formatting restrictions section > Settings... link > Formatting section > Allow AutoFormat to override formatting restrictions

          //---- Get AutoFormatOverride
          bool autoFormatOverride = docProtect.AutoFormatOverride;

          //--- Set AutoFormatOverride
          docProtect.AutoFormatOverride = true;
        
          '--- Get AutoFormatOverride
          Dim autoFormatOverride As Boolean = docProtect.AutoFormatOverride

          '--- Set AutoFormatOverride
          docProtect.AutoFormatOverride = True