Having the exact same issue on a 2013 iMac with Fusion Drive. The computer will freeze up every now and then. The mouse and keyboard are unresponsive and audio will stop playing through (USB), but activities on the Mac such as playing a video will continue. If I press the power button, it brings up the sleep / restart / shutdown window. Never seen anything like it. I have tried a clean install without any data migration to check and it still is happening.