Yes, you’re absolutely right! If all your contacts and data are stored on your SIM card, and you buy an unlocked phone, you should be able to just move your SIM and SD card to the new device. Everything should work as expected, with no need to contact your provider. For managing your new device...