This function is used to lock or unlock a window.
WinLockWindow(HWND hWnd,BOOL lock);
HWND hWnd,BOOL lock
Returns the locked window handle (HWND).