Kids can be a distraction, for sure. Just like coworkers or officemates who frequently disrupt others (even if not directly, such as the cube next to someone trying to concentrate).
When at home, if I feel the a distraction looming, it's easy to shut the door. Problem (mostly) solved.