In case you dint have that sim card you might follow the steps to unlock your phone. In this case, you must use the sim card that is provided to you with your phone. In this case, you should know that your phone is locked. If you buy an iPhone, sometimes after inserting your sim card it displays a message that your sim card is not compatible or supported please try again. Now you can use your phone with a new sim card at any time. Now restore the data from your backup device.