I agree with others that I was initially confused by the way the OP expressed it, but I think she has a point. buffy is right: this is an issue that is very well known in academia, and there is a lot of work on it.
It's tricky: on the one hand, I do know of academics who still manage to run courses without thinking about women and/or why women don't feature more.
On the other, I also find - sorry, OP - that students can sometimes be very ready to think they're the first to notice these imbalances.
I am a medievalist, mostly in English Lit, but obviously it is historical and we think about history too. In my department, there are several of us with interests in women's literature and history. In fact, I've sometimes looked at the gender balance and found that the majority of teaching is by women academics who work on women's literature. That's remarkable when you consider how few named women writers there are in the medieval canon.
Many of us explicitly teach 'against' the canon, discussing how it was formed and how it excludes women.
I still find students who come to me insisting that there's a problem, and we need more women, and why haven't I considered this from my safe position in the ivory tower?
Often, it's because they don't realise their perception is anticipated by the course. For example, I don't teach that women were prevented from participating 'by law', because I know more about medieval law than my students. Initially, you said:
A lecture on the laws, rules and regulations that were in place at the time to limit the participation of women would go a long way to compensate in my opinion.
Ok - so do you know those laws already? If so, you don't need the lecture. You should already be discussing them. Or, do you think you know these laws restrict women - but you're not sure what they are? In that case, sure, the lecture sounds a great idea, but it might be it would surprise you.
My students, for example, commonly assure me that women in medieval England were the property of their fathers and could be married off against their will. They claim women couldn't work outside the home, and that laws allowed men to do whatever they wanted to their wives (they often don't know, however, that marital rape was legal until very recently).
I don't blame my students for having an inaccurate perception of the legal situation and the ways it influenced women's participation in that historical era, but I do think it is often much more complicated that students first expect.