I need to work so I open my laptop to work.
I have a spare, that I connect to a monitor in an empty space besides-me and fire up https://www.microsoft.com/en-us/makecode
Let my kid choose some exercise. If she is stuck she asks me, or I ask her if I should help. We talk shop. She makes animated holiday-card.
I can still have reasonable ammount of focus at work, while at the same time it feels we are making a thing together.
I would avoid anything heavier - i.e. it is said that you don't really have mental capacity to fully understand coding until you are ~11? From other things - scratch exists, I had some success with laying around with Hedy with her, 3d modeling - I would go for tinker-cad that is very simple and geared to make 3d-printable stuff, or blender because it is free and I still remember how to use it from my uni-courses - as 3d modeling gives you immediate feedback-loop.