Today I left my phone (galaxy S2) in my cousin's hand, and he tried to unclock my screen lock pattern. After too many attempts, my phone got lcoked and it asked me to sign in using my google account. I did so, and the phone got unlocked.
But when I press the lock button, or the phone gets locked automatically and I press the lock button to unlock it, the "too many pattern attempts" screen comes back again. Also my sim card is not being detected even though its there.
I have tried rebooting the phone, disabling the screen lock patten in security settings, disabling google account. Nothing has helped so far!