Updates for newer Windows versions are often downloaded in the background and installed automatically on the next reboot.
Microsoft announces a safe way to stick with Windows 10 past its 2025 end-of-support date, but it'll cost you.