To stop Windows automatically resizing when it is moved to the edge of the screen you:-
- Open Control Panel
- Ease of Access Center
- Make the Mouse easier to use.
- Place a check mark in the Prevent Windows from being automatically arranged when moved to the edge of the screen option.