Chosen Solution

i got my hands on a iphone 6 or 6s with someone else passcode on it i don’t know the passcode would like to reset it

That is not going to happen! All you have is a paperweight that belongs to someone else, it’s dead to anyone that does not have the passcode.