You can only do this if your devices support WiFi Direct. You can also deliberately 'mess up' the proxy/VPN settings of your phone so that any data requests won't be able to be fulfilled since the DNS server will not be reached. Or you should be able to terminate Internet access from your router. Either way, it's not a simple, one-click task, unfortunately.