Salesforce is _explicitly_ geared towards vendor lock-in -- it's their bread and butter. It's why they have a vendor-specific clone of React (Lightning Web Components), a bad vendor-specific clone of Java (Apex), a bad vendor-specific clone of SQL, and a faux-development ecosystem that requires you to use their bespoke custom tools and their bespoke custom languages and frameworks. They talk about "the Salesforce economy", about how they "create jobs" for people who...build stuff in those Salesforce-specific DSLs.
Meanwhile, their entire sales department hard-sells people on "just put your data all into Salesforce and you can run your entire company through Salesforce!" Every piece of tech they build is part of something that resembles a cross between a marketing funnel and a sucking black hole.
Those proprietary "platform" components are not about extensibility so that you can "do more with your data" or whatever; it's about injecting the Salesforce parasite so deeply into all aspects of your company's operations that it's _darn near impossible_ to extricate any piece of it again.
They've even built a crappy clone of Jira that they force employees to use internally, because they apply that same philosophy internally.
People talk about Microsoft's "Embrace, Extend, Extinguish", but Salesforce has never bothered to at least put effort into the "Embrace" or "Extend" parts of that formula -- theirs is more along the lines of "Intertwine, Integrate, Incarcerate".
The last thing I'm ever gonna do is feed any of my source code into something they've built.