You can stop your cat from coming into your bedroom by using similar techniques as keeping them out of the crib, such as deterrents and positive reinforcement.