Another take on the matter is: interruptions are inevitable, so reducing the "recovery penalty" is key, and can be learned.
That's something that you learn to do when you have a kid: suddenly, your periods of 4 hours of focus free time (for coding, exploring tech, whatever) during the weekend just _disappear_. You only get max 30 minutes of free time in a day; this is extremely frustrating initially; there is no boss to complain to, no meetings to blame, no solution but to deal with it. Progressively, you learn to switch tasks much more efficiently, by making regular check points, so that you can get interrupted any time and get back to deep work _quickly_.
Yeah this is something I want to learn more about for sure and is the weakest part of this piece. What have you found that works for you? Or is just that knowing that you’ll get interrupted will force better discipline?