There should be an option 'forgot password', which you can use if you have the gmail account in question logged in on another device, to create a new password.
If not, take it to a phone repair shop and they have software that can easily fix this issue 😉. Hope this helps! 🙂