Mommies with Cats

I have 2 cats wnd they used to be really good. Then I closed off the baby room when I started painting 2 months ago and ever since then they really act up. Now I try to let them in the nursery so it's not "forbitting"- but they're scratching stuff more and I don't trust them unless I'm. There. Anyway how did you deter your cats from the nursery? I keep the door closed when I'm not home but soon we will have baby stuff everywhere I'm 36 weeks. It makes me nervous how to protect his stuff.