For older Android versions, you may be able to use the "Forgot Pattern" feature to sign in with your Google account directly on the screen.