It depends on what you mean by free market, it's often used interchangeably with with laissez-faire capitalism but an important concept in a free market is that the barrier to entry for new competitors should be as low as realistically possible, so regulation that prevents vendor lock-in can be pro free market.