Disable Windows 10 and Windows 11 Updates Permanently

Click on Start menu and search for “Registry on.

Open the Registry and got to the following path –
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

Once you are here, right-click on Windows and choose New and then Key.

Rename the new entry to WindowsUpdate

Now, right-click on the WindowsUpdate entry and select New and then Key.

Following that, rename the new key as AU

Now, right-click on the AU key and select New and DWORD (32-bit) Value.

Rename it to NoAutoUpdate

Now, double-click on “NoAutoUpdate” and change the value data to 1. Press “OK”.

Now, close the Registry Editor and restart your PC. You will now find that Windows 10/11 update has stopped completely.

Source: 
How to Disable Windows 10 and Windows 11 Updates Permanently