hai friends,

while clicking a button,lock the cell which contains data.

Condition:only lock the cell contains data,all other cell should unlock