occupy (someone or oneself) by (doing something)
To keep oneself or someone else busy or distracted by doing something. A: "It might take a while for this to finish up." B: "Don't worry about me, I can occupy myself by reading." Dan's occupying the kids by showing them different bugs in the back yard.