Hi,
If you want to prevent the update to Windows 11,
you can open the Command Prompt and run the following commands:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseversion /t REG_DWORD /d 1
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseversionInfo /t REG_SZ /d 22H2
Open File Explorer, then navigate to C:\Windows\SoftwareDistribution\Download
Delete the contents of this folder—but not the folder itself—and restart (do not shut down) your PC.
If, later on, you decide you do want to update to Windows 11, you can run these two commands:
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseversion /t REG_DWORD /d 1
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseversionInfo /t REG_SZ /d 22H2
Please consider rating this answer and visiting the Microsoft Q&A community if you have any further questions.
Thanks.