when screenlocker is shown, we finish moveresize window.
when we use mouse to moveing window, then press Meta + L to lock screen, then you release mouse, type password to unlock screen, you will find the window still in moving status. that means, at this point, the mouse has not pressed any buttons, but the window will always follow the mouse movement.