My body froze ?

During the night and this morning my body froze a couple of times where i couldnt move a single muscle i could only breath a little which was hard to do ... Does anyone know what this could be and has it happened to you or anyone you know ?