You can do it as follows - Settings app > Network & Internet > WiFi > Advanced options. Move the slider to Off position for Set as metered connection. This will disable Metered Connection in Windows 11/10.