Performing a factory reset does not eliminate the activation lock on iPhones or iPads; the activation lock remains linked to the iCloud account linked to the device. To remove it, sign in with the original iCloud account or contact Apple with proof of ownership for assistance.