How to disable dragging of maximized windows in Windows 10

Windows 7 introduced the Aero Snap feature where you could drag a window with the mouse pointer to the edges of the screen to snap it or maximize it. But another behavior of this feature is that maximized windows can also be dragged down from the title bar to restore them to their original size. This behavior exists in Windows 10 and Windows 8 as well. Windows allows turning Aero Snap off via Ease of Access Center but offers no fine tuning over it. Turning off Aero Snap disables drag-to-top to maximize, drag-from-maximize to restore and drag-to-side-edges to snap. Instead if you want to keep Aero Snap on but only disable dragging of maximized windows, let me tell you that it is possible!