LG GT540 with to many pattern attempts, should be no need for flashing as i read elsewhere.
To get round this you can use a hard reset which is done as follows :
Turn the phone on, Hold the volume up, search and home buttons for 5 seconds.
WARNING! : This will erase all data from the phone.
Hopefully this can help some people out