Added locked editing.

Excel like behaviour where a cell is locked (cannot exit using arrows) when double-clicking into edit mode.