I switch between Windows, Linux, and macOS with regularity and while there are platform-specific services, the mobile platform is considerably more walled off. Mobile storage stagnated for years while the apps and any captured media became larger, really pressuring you to use their cloud services in a way I've never had with a desktop. I can store data on a NAS and access it pretty easily with any of the desktop platforms. I'm not sure how someone is supposed to be able to be able to migrate off iCloud when moving to Android without involving a non-mobile computer. It doesn't appear to be anywhere as easy as copying files from one SSD to another or using AirDrop/SMB/NFS.
The iMessage thing is another layer to this. You may not want to call that lock-in, but there have been extensive threads about this topic recently [0][1]. The Epic lawsuit surfaced some emails that strongly suggest Apple views iMessage as a way to lock customers in [2].
Regardless, the original point is switching platforms isn't going to happen without a fair bit of cost and likely some social upheaval. Switching platforms is technically an option, but it's not a realistic one for many. I don't think it follows that if someone has stuck with the same platform for several years that they tacitly agree with all the policy decisions made by that platform.
[0] -- https://news.ycombinator.com/item?id=29889492 [1] -- https://news.ycombinator.com/item?id=29851317 [2] -- https://news.ycombinator.com/item?id=26753014
What's illegal is anti-competitive use of monopoly market position.
Some textbook rulings will apply, since Apple exces admit that if they do no constrain downstream, no one will use their 30% markup product. So consumers could be better off by definition
although Apple will argue that they will charge more to downstream producers directly, but this is also difficult to argue (they can do this anyway and extract rents from consumers and producers at the same time).
If you have a monopolistic platform market on which you also produce, it seems rather hard not to get sued