How to Disable Simultaneous Connection to Non-domain and Domain in Windows 10
You can use the Prohibit connection to non-domain networks when connected to domain authenticated network policy in Windows 10 to disable (or enable) simultaneous connection to Non-domain and Domain networks. Here are two methods you can use to configure the policy.