1 Timothy 2:11  Let the woman learn in silence,…. The apostle goes on to give some other instructions to women, how they should behave themselves in public worship, in the church of God; he would have them be learners and not teachers, sit and hear, and learn more of Christ, and of the truth of the Gospel, and to maintain good works; and he would have them learn in silence, and not offer to rise and speak, under a pretence of having a word from the Lord, or of being under an impulse of the Spirit of the Lord, as some frantic women have done; and if they should meet with anything, under the ministry of the word, they did not understand, or they had an objection to, they were not to speak in public, but ask their own husbands at home; see 1Co_14:34. And thus, they were to behave

with all subjection; both to the ministers of the word, and to their own husbands; obeying from the heart the form of doctrine delivered to them; and submitting cheerfully to the ordinances of Christ; the whole of which is a professed subjection to the Gospel, and which becomes all professing godliness.

1 Timothy 2:12  But I suffer not a woman to teach,  They may teach in private, in their own houses and families; they are to be teachers of good things, Tit_2:3. They are to bring up their children in the nurture and admonition of the Lord; nor is the law or doctrine of a mother to be forsaken, any more than the instruction of a father; see Pro_1:8. Timothy, no doubt, received much advantage, from the private teachings and instructions of his mother Eunice, and grandmother Lois; but then women are not to teach in the church; for that is an act of power and authority, and supposes the persons that teach to be of a superior degree, and in a superior office, and to have superior abilities to those who are taught by them:

nor to usurp authority over the man; as not in civil and political things, or in things relating to civil government; and in things domestic, or the affairs of the family; so not in things ecclesiastical, or what relate to the church and government of it; for one part of rule is to feed the church with knowledge and understanding; and for a woman to take upon her to do this, is to usurp an authority over the man: this therefore she ought not to do,

but to be in silence; to sit and hear quietly and silently, and learn, and not teach, as in 1Ti_2:11.

Reference

Gill’s exposition of the entire bible