Different CEO, probably different board, probably different majority share holders, different attitude toward customers, different products and principles, essentially a completely different company.
Microsoft is still engaging in vendor lock-in, such as making it difficult to use Microsoft 365 on platforms other than Azure and Windows. In the open source community, Microsoft is also practicing the 3E strategy, such as implementing specific features in .NET only for Microsoft products. In essence, Microsoft is the same today as it was in the past.
It's not super surprising that a company is saying potentially contradicting things (over a period of 28 years) to defend or promote their interests...