Don't worry about it, seriously. Vote with your feet or civil disobedience if need be.
If you want to work from home then do so. There's more options for 100% complete work from home than ever before. Will it pull back from the lockdown era? Probably. Will that affect your ability to find a job that fits how you work best -- I sincerely doubt it.
If the place you work is willing to incur attrition forcing talented people back in the office against their will there's going to be a whole industry of folks perfectly willing to attract that talent to continue working from home.
If you want to work from home then do so. There's more options for 100% complete work from home than ever before. Will it pull back from the lockdown era? Probably. Will that affect your ability to find a job that fits how you work best -- I sincerely doubt it.
If the place you work is willing to incur attrition forcing talented people back in the office against their will there's going to be a whole industry of folks perfectly willing to attract that talent to continue working from home.