How can I correct an invalid IMEI?

RRECAP: Bought Iphone 5S from a friend of a friend, it is locked. I have no phone# original owner is MIA so I cant get it. IMEI is showing invaild too.

Can I get it unlocked?
If so who would you recommend ? or where to get instructions.
How to fix IMEI to correct the invaild?
Can the carrier ATT do it?
Is this a pipe dream??
Can I just sell the phone for parts?

Thats it. Appreicate any and all help very very much.

Rob
Congratulations you bought a paperweight...

Original thread: https://forums.imore.com/threads/how-can-i-correct-an-invalid-imei.378916/