How to prevent notepad window or any other window to move from position to other by using drag drop? How to prevent window from maximize?
Do you mean the feature that triggers when you drag a window into the side or top of the screen? Or to disable moving and re-sizing any window period?
To disable the snap feature:
Go to Control Panel - Ease of Access Center - Make the mouse easier to use
You'll want to check the box "Prevent windows from being automatically arranged when moved to the edge of the screen"
I'm not sure you can completely disable moving or re-sizing all windows. What is the reason you would need to do this? Maybe there is another way to achieve your goal if you give us more info.