Sets or returns whether a cell will be locked in a protected worksheet.

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

          //--- Get CellLocked
          bool locked = style.CellLocked;

          //--- Set CellLocked
          style.CellLocked = true;
        

          '--- Get CellLocked
          Dim locked As Boolean = style.CellLocked

          '--- Set CellLocked
          style.CellLocked = True