Does your XPERIA X10 have a plastc cover?
A colleague of mine had the same problem and here's what we discovered -
The plastic cover that comes with the device creates pressure on the camera key and the 3 front keys don't work when the camera key is held at the same time.
All we needed to do was cut a hole on the case where the camera key is, and the problem vanished ...