Bought an iPhone 6 at Goodwill. How do I remove the password lock? : r/applehelp – Reddit

You can restore it, but it's likely a stolen iPhone and likely has activation lock if they were signed into an Apple ID.
View full source