Zend certified PHP/Magento developer

How can one configure Windows 10 so that a given process never uses a given Wi-Fi network?

I don’t want a process (e.g., the Backblaze backup program) to ever use Internet if I am connected to a given Wi-Fi network (e.g., my Android hotspot). How can I do that? I use Windows 10. I still want the process to be able to use other Internet networks when I am connected to them.