LockEditor - lock the editor so that it will not accept input or changes
Source position: grids.pas line 999
protected procedure TCustomGrid.LockEditor;