I recently heard a lecture where he stated that having relations with anyone in the iddah period makes that person haraam to marry. Is this true?

Yes, it is