I do not remember any of those books stopping for a several page lecture unrelated to any plot point.
Most of what I remember is the author using the action of the story to carry the point across.
The same is true of Star Trek ToS, and most of what I remember from deep space nine.
It is not that I am opposed to the ideas of flexing sexuality and politics in science fiction- quite the opposite. Take for instance, the culture series by Iain Banks. Fantastic work where If there is some lecturing done, it seems to fit smoothly into the flow of the work.