|All cells are Locked by default, but that means nothing until the sheet is Protected.|
The standard process to Lock & Protect only a specific set of cells is as follows:
1 - Click above the row numbers to select the entire sheet
2 - On the Home ribbon, pull down Format and select Format Cells
3 - Choose the Protection Tab and uncheck Locked
4 - Select the cells that you want to Lock & Protect
5 - On the Home ribbon, pull down Format and either select Lock Cell or select Format Cells...Protection Tab and click Locked
6 - Finally, Protect the sheet either via the Review ribbon or on the Home Ribbon under the Format drop down...Protect Sheet. Make sure you choose the Protection options that fit your needs.
Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.