S25 purchased on Amazon...

Wait 5 sec.

I bought an s25 unlocked on Amazon. Picture attached. Got the phone and in activating it I smoked two sim cards. Called TMobile and get said it was blocked for non payment. So now I'm not in a position to send it back in but I want to root it and change the imei so I can use it. I have a windows tablet to attach it to and write whatever needs to be written. Can anyone provide me with advice for research purposes on how this can be done?