How else can I unlock my iPhone?

I dug out my iPhone and hoped to use it, however it had a password and I unfortunately forgot the password. I haven't set it to trust the computer i'm using right now. The Apple iD isn't logged on in my phone. How else can I unlock it?
It's an iPhone 6.

No

If you aren't signed into your Apple ID on that phone, then you can restore the phone (with it being in DFU mode) with iTunes on your computer. This will erase everything off of the phone, though.

Connect it to iTunes and restore it. That should solve the problem. Hopefully, this will help: https://www.payetteforward.com/how-to-put-iphone-dfu-mode/