Hi there. If you have forgotten your password you may need to factory reset from recovery menu. But you need to know the password for your Google account as it will trigger the factory reset protection.
How long have you had this phone? Did you get it new or used?
Please register for an account so we can help you further. With a guest account, you can't reply. Thanks
If this was for some app hiding or private area of the device - you may have to delete that setup and start over, losing the data stored there. If we could easily tell you how to get past that, it wouldn't be a very good protection system, would it?