We should also also embrace offline mode more. Disable all network connections until you make a conscious choice to go online. Heck, make a Windows 3.1-esque GUI for it and call it Trombone Winsock just for fun.
If any program complains it needs network connectivity for offline features, it goes into the Recycle Bin.
Offline mode, and self-hostable apps. I'm very happy with my self-hosted and open source apps; e.g. photo library, media centres, etc; the convenience of cloud, but my cloud that I fully control.
I found myself doing a particularly intense stint of work the other day, finally had all the source documents and the destination program all lined up, happily finding and comparing and synthesizing and entering, and I realized it was going to take all night. Or realistically until the middle of the next day.
I put the laptop into airplane mode, to block any updates that might unceremoniously reboot it and wreck my layout. Figure if I needed to be on Teams in the meantime, I've still got a phone for that.
Airplane mode already exists, it's _wonderful_ for this, and I should use it more often. If I'm not actively internetting, just toggle that and the distractions can wait.