If the iPhone is locked to the owner, it means that you or someone else's iCloud account is still linked to the factory erased iPhone, iPad, or iPod touch. The official way to remove this barrier is by providing the password to the linked iCloud account without which no one has access to the device.