You can only blame yourself for getting locked in though.
By DRM-free music files? By the Photos app that you can export anytime you want? By the iCloud storage which you can trivially replace with Google Drive or Dropbox? By the Contacts app that makes it trivial to export all your contacts?
What exactly will be the lock there? At worst you'd have bought some Mac/iOS apps from the App Stores that you'd need to rebuy. But that's always the case (App Store or not) for any platform transition since one platform's apps would not run at the other platform.
And for the big apps (MS Office, Adobe Creative Suite etc), their subscriptions allow you to migrate to one or the other platform...
The use case is a lot larger than just "mobile phone". I'm an Android guy, but I rarely use my phone to make phone calls, in fact I don't use it to make phone calls at all on my provider's network, I use a SIP client to connect to a VoIP service for calling, I do secure messaging via Signal, I run emulators and play old games, I run a full linux environment to do some minimal development and to ssh into servers, I stream audio to my Sonos from YouTube videos and prevent apps from getting my private data by spoofing it and block ads in free apps because I'm a cheap fuck.
Many of these applications make an iPhone a poor choice for me, but not for many other people. If you just need a mobile phone, an iPhone still serves that use case perfectly well. So does the most basic android phone and probably a cheapass Nokia from 10 years ago. The use case is what makes the difference here.
And why should they? Do you keep old VHS drives and mid-2000s PDAs around?
Tons of people change cars every 5-6 years or so -- and we're talking about buying a new phone every 2-3 years as if its bad, in a field where progress (from 1995 to 2016) has been astronomical compared to the pace of car progress?
Well, if resale value is what you're after, then you have the best deal with the iPhone in the first place, combined to any other mobile brand.
>Like many other electronics, phones have basically stopped improving in the past few years.
I beg to differ. Except if you mean "for what I do/care about".
50-100% faster processors and GPUs every 2 years are not "stopped improving". Newer camera systems (4K, image stabilizations, slo-mo), touch id sensors, etc. A lot of the things people do depend on those improvements.
Of course for mere phoning, casual app use, etc, then sure.
Chill. It's all going to be okay.