On most Androids, just do the 5 attempts within the 30 seconds (or whatever it is) and a "forgot password" box will appear.
As long as you have the proper google sign-in info, your'e set.
(it will hy-pass the pattern lock to let you re-set the lock to whatever you want).