Well my phone done the exact same thing a few days ago but i tried something different.
When i booted my phone up ect, the screen came up with enter the google mail account. All i did was have someone phone me, pick up the call and click the back button or home. Once there, i just went to setting and seleted the unlock pattern to turn off. And that was it
i hope this works for some cases because this worked for mine