cat in the crib😓

Noemi • Proud FTM to my beautiful baby girl Melanie Jazmin
So my girl will be here in late April and I just finished setting up her crib this weekend. So far no problems with my cat (she is very sneaky) but today I caught her jumping in!! I immediately took her out of it but she keeps trying to go in! We only have one room in my apartment and whenever she stayes outside of the room with the door closed she meows until we let her in.
How can I keep her out of the crib?! I don't want her going in when my baby's here and I don't want her thinking it's okay to go in the crib. I was thinking about getting a mosquito net over the crib maybe that'll keep her out, what do you think?
Thanks for any help!