Office even has a web version that generally works fine. I ran it on Brave browser in Linux last week. Teams browser also works fine, I use it to talk to my parents.
I don't think your examples are good on this.
Not blaming MS per se (much of my examples above are H/W), but the type of "consolidation" companies such as MS engaged in, killed a lot of small to medium computer hardware and software businesses.
Even still, I don't even know that I agree with your updated point. I've imported docx files into Google Docs, LibreOffice, Pages, and OnlyOffice. There's varying levels of success, but generally they all work fine. It's really not that hard to migrate from Azure to other platforms.
Even if I granted the lock-in here, I'd argue that it's different than the EEE thing that Microsoft is infamous for. I'm not a fan of vendor-lock-in either, but it's different than actively trying to kill standards.