I'm afraid if I you don't have the password for the iCloud account that phone is locked to then you've bought something sadly useless.
Your best option is to secure a refund from the seller and next time you buy ensure the phone has been wiped correctly so you can activate it and add / create tour own iCloud account
Sorry that's probably not what you wanted to read.