For a used iPhone, ask the original owner to enter their credentials, sign out of iCloud ... Apple Account on iOS 11 or later ...
Buying a second-hand iPad can be a great way to save money, but if you turn it on and see the iCloud Activation Lock screen, ...