Check this out -
Too many pattern attempts sony xperia X10. locked out
my Sony X10 has locked after the security pattern locked out
Sometimes password as null works.
Or you may have created a gmail username and never used it. Logon to gmail site and say you forgot your username. I was under the impression you need to have a gmail account in order to use the Google Market and download and update apps.