If you have no choice but to use Windows download Microsoft 10 LTSC iot, lock down all policies and use Shutup10 and WPD to remove all telemetry. Blackbird can also block specific Windows 10 addresses that phone home but it's better to just get a third party firewall and block them because Blackbird can sometimes break things.
I also was able to remove Microsoft EDGE forever using this. Follow the steps exactly:
https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6#file-uninstalledge-ps1
If an update you want forces edge back then just follow the steps again. If Edge "remnants" remain, use bulk crap uninstaller on any leftovers.
I've never had the search bar return or anything I didn't want to return on a locked down Windows 10 LTSC installation except Edge, and that's easy to remove. You can even turn off updates for a while if you want to, but I still update because you should.
If you have hardware that needs Windows 11, they're releasing an LTSC version of that, too soon.