If you want to be online, but want to block internet to certain apps like work apps, messaging apps etc, and continue using rest of your apps, you can do it using this app.
And no,this is not an ad. https://play.google.com/store/apps/details?id=dev.tuantv.android.netblocker
Shelter and Island are good options for creating separate work profiles. But disabling internet per app feature is not present in all roms. So for those who are not having it could use this.