Protection
From Documentation
Protect a Sheet
how to enable / disable protection for a sheet with API , protectSheet()
get protection status with API , isProtected()
Unlock a Cell
Spreadsheet supports unlock cells of a protected sheet configured in Excel.