Welcome to Android Central! If you have a Samsung phone, then try Samsung's Find My Mobile to remotely unlock the phone: https://findmymobile.samsung.com/
Your phone's password is crucial to remember. Treat it like the combination to a safe that contains all of your life's savings -- don't forget it! If you can't remember things like this, then write it on a piece of paper and keep it in a safety deposit box, or at the bottom of your smelliest sock drawer.