lockWindow

Parameters

lockWindow

lock the window if true; unlock otherwise