Sets or returns a boolean representing whether or not annotations are locked in this document.

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

          //--- Get AnnotationsLocked
          bool annotationsLocked = docProtect.AnnotationsLocked;

          //--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = true;
        
          '--- Get AnnotationsLocked
          Dim annotationsLocked As Boolean = docProtect.AnnotationsLocked

          '--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = True