When my kids were babies, we just closed the door to the baby's room. I didn't leave the baby and cat unsupervised. Frankly, the cat wasn't all that interested.