What device do you have and what was the last thing you were doing before this happened?
At no time does it offer you the option to enter your Google ID to unlock? It should do this if you've exceeded the number of tries at unlocking the device unsuccessfully.