First select all the cells that you don't wish locked (read-only), press right mouse button and select "Format cells". Go to "Protection" tab and uncheck "Locked".
Then go to menu Tools/Protection and select Protect Sheet. Password is optional.
All the cells you haven't unlocked before will be locked now.