In the early days, windows wouldn't allow you to run any 3rd party programs that weren't approved by Microsoft. This was very unpopular, hence they removed it.
Plus, this had nothing to do at all about strangleholds for programming, and everything to do with the fact that Apple made some key mistakes in the beginning. This is why they are lagging today. Microsoft simply copied a lot of the ideas that Apple introduced, and then marketed them in a better way. If Apple had actually thought about their marketing, then we'd be having a conversation as to why Macs are better than PCs.