The phone locks itself while doing something, it doesn't matter what it is as it happens randomly.
Also sometimes the wallpaper goes black and I would have to manually change it back to what you it was, it's one of the default wallpapers from Sony. Could it be a software bug or a hardware failure?