Sex while pregnant with twins?

Jessica

I am 24 1/2 weeks pregnant with twins. The pregnancy is going fine. No problems at all. My perinatal doctor has 0 concerns. Cervix looks good etc.

My OBGYN said he recommends not having sex until 30-32 weeks.

Has anyone else’s doctor recommended this???