how to lock certain columns to prevent edit

i want the grid to be in edit mode but i want certain columns to be uneditable…how do i do that?
how to lock certain columns but not others?(prevent edit by clicking or any other way)

You can use “ro” eXcell type