Your male is heading for a telling-off from the female to teach him some manners. Normally there is no need to keep males separate from females that are pregnant. When she goes into labour you should definitely keep him away.
If your female dog is already pregnant, in normal circumstances, she will not be in heat till the pregnancy is over. So in the meanwhile, she should be separated from the male dog until she gives birth.