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