Question: how to change the firewall settings in windows 10?
Answer: Select the Start button > Settings > Update & Security > Windows Security and then Firewall & network protection. Open Windows Security settings.
Select a network profile.
Under Microsoft Defender Firewall, switch the setting to On. ... 
To turn it off, switch the setting to Off.