lock a cell?

Is there a way to lock a cell in a layout?

Need to specify: do you mean to disable?
If so - there is the one way:

dhxLayout.cells(“a”).progressOn(); //the cell you want to desable
style:
table.dhtmlxLayoutPolyContainer_dhx_skyblue div.dhtmlxLayoutPolyProgressBGIMG {
background-image: url("…/___img/blank.gif"); //transfer image
background-position: center center;
background-repeat: no-repeat;
}
table.dhtmlxLayoutPolyContainer_dhx_skyblue div.dhtmlxLayoutPolyProgress {
background-color: #ffffff;
opacity: 0.1; //the superimpose mask
}