iphone linked to an appleID
Sadly, there is no other way to make your phone work. It has to be unlocked first by the Apple ID mentioned on the screen. You should have checked iCloud activation lock status of the phone before purchasing.

If you have the original receipt of the phone from the seller, then you can approach Apple to reset your phone. Otherwise, there is no way to unlock it.