First option
This method is functional when we know the pattern but someone has entered wrong several times and we are now asking is google account. And it is the password for this account what we have.
This method is only valid in some older versions of Android, so it is possible that the newer phones do not work. If this is the case should go to the Storage menu -> Factory data reset. This will erase everything we have on the mobile but would solve the problem.
Second option
This method is harmful with mobile data, but is the only option if reuse method one has not worked. Just do not erase what you have in the microSD.
As we say the second option is how to format a PC, we lose everything we did not have stored on your microSD.