Using Styles#add_style is the recommended way to manage cell protection.
CellProtection stores information about locking or hiding cells in spreadsheet.
Creates a new CellProtection
specifies locking for cells that have the style containing this protection
specifies if the cells that have the style containing this protection
Serializes the object