You are fine to have sex all the way through your pregnancy.
It will not even come close to your baby. Your cervix should be long and closed by now, which will even stop any sperm getting in there.
The man penis won't get to where the baby is, the baby is well in your uterus which is not close...