A bit complex, but its the best automation app for Android.
What You Need Before You Start Before you can block internet access for individual apps on a Samsung Galaxy device, it helps ...