I clicked suspend recently. The pc shutdown. On touching the space bar or keys - nothing happened!

I then pressed the off button once, got a login screen with no mouse or key control. This login screen recyled periodically.

I ended by rebooting the machine.

My question: How is the suspend function used?

Thanks

Ubuntu run from pendrive