Press "Win+R" and enter the command "firewall.cpl"
On the left, click "Advanced Settings" and then "Rules for Outgoing Connection"
On the right side, click "Create Rule", select "For Program", specify the path, check "Block Connection", then "Next", specify "Name" and click "Done"
