On reddit there is a thread that says you must activate the Apple store unlocked iphone on VZW first for it to stay unlock. If you use T mobile first they lock your Apple store sim free unlocked phone and wont unlock it.
Unlocked iPhone Change Providers?
Ask a QuestionOriginal thread: https://forums.imore.com/threads/unlocked-iphone-change-providers.408490/