I was a housewife for a few years (and since 3 weeks 😁) and I never felt "financially trapped" because my husband has made a conscious effort to ensure that I own property in my own name. I think this is something other men could also do, to reduce womens' inclination to stay in the workforce and make marriage and motherhood more attractive to women.