If you don’t see the DNS encryption options, then you’re editing the DNS settings for your Wi-Fi SSID. Make sure you select the connection type in Settings > Network & Internet, then click “Hardware Properties” first.
References
https://www.howtogeek.com/765940/how-to-enable-dns-over-https-on-windows-11/