added new lock for only external cells
it works