As someone who has built software since 1999 across a variety of platforms, open and closed source, the amount of boilerplate you have to write to create the most common objects is still astounding, no matter how many open source libraries I pull in. (often the more you use, the worst it gets)
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.