Phone locked

Can somebody please help me with my problem. I changed the sim card in my phone to try another number and when I put sim back in my phone locked. The message on screen is “Device locked because SIM card is missing” its asking for a password but I do not have one or I can’t remember it but I don’t remember setting one up in first place. What do I do? Any help would be appreciated. Thanks