Buying an iPhone locks you into the ecosystem. There can't be many people who own one who've never installed any apps from the app store.
There may be some switching cost, but not much, depending on:
- whether the apps are free
- whether the same or similar apps are available on Android
- whether those apps are critical to you in day to day use