Adam Smith believed that an economy should be free of monopoly rents
If I can keep you from switching lawyers, if I can keep you from interviewing other lawyers, if I know your choice is not "lawyer or no lawyer", but "which lawyer", then I can keep my prices artificially (not a free market) high.
How do you distinguish between "keeping you from switching" and "it being inherently difficult to switch?" If you buy an expensive car that only runs on expensive and rare fuel (thereby restricting your choice in fuels), is the free market somehow violated? If you buy a Gillette razor that only works with Gillette blade cartridges, is the free market violated? I find the distinction rather fuzzy.