Locked out

Tried marie Times . Code not right. Can't go to I Tunes don't have computer
Welcome to iMore! If you refer to the passcode to open the phone, you will either need to remember that passcode, or you will have to connect to a computer and restore through iTunes. Put it in DFU mode. No way around that. No other option.

And once restored, you will still need your Apple ID and password to set it up.
If you cannot do anything that Ledsteplin recommends, the only option left is to take it to the Apple store along with proof of purchase (they won't help you without proof of purchase which matches the phones serial number to the Apple ID you have on file with them). If you can't do that then the phone becomes an expensive paperweight.

Original thread: https://forums.imore.com/threads/locked-out.358334/