i was trying to acces the unlock code to htc my touch , but its was locked by too many patter attempts warning, after to much search i found these,
1.Turn phone off
2.Hold home key and press power on key - after a short wait (quicker than normal startup) you will see a screen with a Warning triangle and a phone picture
3.Press Home key and Power on key together- you will see three options
◦reboot
◦apply sdcard:update.zip
◦factory reset
4.Select with track ball and click as required
after that i done as it`s explained here.
hope it can helps