I'm glad to hear that the problem was fixed.
If you don't want to upgrade to Windows 11, you can block the upgrade by creating a registry key or using Local Group Policy Editor. You can see how to do it at this link.
https://www.howtogeek.com/765377/how-to-block-t...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.