Hello..
I have this problem with my Desire, has gotten really annoying 'cause I miss some calls because of it :(
So, sometimes when I'm using it, sometimes at random, the phone freezes for just a sec, shuts down all apps and goes to the input PIN screen. The SD card preparation symbol is there...