Hi Yvonne. Welcome to justanswer.
Is your contract with your network provider already finished?
Yvonne if your contract with the last network provider is over then they may give you the code easily.
However, if you are still tied to them, they may not give you the code or you may be required to pay a fee.
But there are other methods available. Give me your phone`s model number and IMEI number
Are you using Windows or Mac?
If you are using Windows os in your computer:
Once you click this link below(CLICK HERE)A file will automatically get downloaded. Check your download section, a file named ELSINORE.SCREENCONNECT will be present. Just open that file so that I can connect to your computer.