Play around/about with (someone or something)

To engage in some play with someone or something.

The boy was playing around with the dog when his mother entered the room.