What is this Apple lock-in? I just replaced my iPhone 4 with a Moto G, it was no problem to move over my Google mail/calendar/contacts from the iPhone and the Moto G run the same apps: Skype, Dropbox, Boxcryptor Classic, etc. etc. I was set up exactly the same in an hour.
My App store investment over three years amounts to approximately $20 but if I'd spent those on Android Apps I wouldn't be able to move those assets to Apple or Microsoft phones either.
Incidentally today I'm replacing my iPad 2 with an iPad Air 2 - yeah I'm equally happy with iOS/Android. I'm not religious in either direction, I'm too old for that shit and ended it after the great OS/2 flame wars, these are all for profit companies with the same agenda; getting my money.