To lock most cells, select the cells to remain unlocked, clear the Locked checkbox in the Cell Protection tab, and protect the sheet. To unlock most cells, select all cells, clear the Locked checkbox, select the cells to lock, select the Locked checkbox, and protect the sheet.