Just saw this video on how to do this. We got two Sony mobiles at home and they freeze all the time
In a nutshell, press and hold the camera, up nav and power button for 5 seconds. It should either switch off or restart.
Till you have a stuck Sony Xperia again – see you