I want to be able to lock cells in one column based on the content of cells in another column. Example, Lock C10 if A10 ="X".

Conditional formatting doesn't include locking cells, and I can't see how to do this with an IF statement. I'm not a programmer so I'd prefer not to have to deal with VB code.