My sister locked my phone playing with unlock pattern attempts.
Looked in the net. Found and answer 🙂
* run in adb shell:
adb -d shell sqlite3 data/data/com.android.providers.settings/databases/settings.db sqlite> update secure set value=0 where name='lock_pattern_autolock'; sqlite> update secure set value=2726148 where name='lockscreen.lockoutattemptdeadline'; sqlite> delete from secure where name='lockscreen.lockedoutpermanently'; sqlite> .exit # exit
source: http://forum.xda-developers.com/showthread.php?t=977398