If your machine is eligible for Windows 11 - meaning it ticks all the boxes for hardware compatibility- Windows 11 24H2 will download in preparation for installation, with no way to stop it.
For right now, the only way to prevent this is to adjust Registry keys accordingly, and the simplest, fastest way to do so is with InControl.

https://www.askwoody.com/newsletter/...2-pushed-hard/