If intercourse is interrupted we may have inhibitions of which we are not consciously aware. Often intercourse in a dream can mark the integration of a particular part of our personality.
If a child is then born in the dream that integration has been successful.