Hi,
I had the same problem while trying to protect the header of a worksheet.
The workaround used was uploading (as a resource) an excel sheet with the first row locked, and then fill the data in that worksheet, as shown in the oml attached.
Hope this helps,
Pedro