Also "vendor lock-in" occurs in open source. Most code that gets written day-to-day is written by developers who are not qualified to work on the underlying libraries they depend on. We are locked into our server frameworks, our database engines, our front-end frameworks, our authentication library, etc.
It also seems like you and I are having very different experiences with how much boilerplate we need to write to get simple programs working. In streamlit[1] for example you can get a dashboard up and running in minutes.
Why would people building software today need to do that? There are excellent, “batteries included” polished versions of plenty of the things we need to build software: package managers, developer tools, machine learning libraries with the latest algorithms, testing & CI/CD tooling, UI components, web servers, databases, etc. There’s even entire applications that are FOSS, if you want to build a new tool there’s nothing stopping you from adding whatever you want to a pre built FOSS application like LibreOffice, Calibre, etc.
https://www.worklife.news/talent/developers-are-burned-out-q...
Code when a ceiling has been reached with existing tools is the future — a ceiling which is getting higher and higher, thanks to Retool etc.