Your MacBook Pro can freeze if it is overloaded, overstrained or is overused without decent restarts to refresh the processor. Still, Macs are robust machines and will respond well to any proactive maintenance that you undertake to ensure this does not happen.
If your MacBook Pro is unresponsive, and does not show signs of life even when you Force Quit applications, there is only one thing that you can do; a Power Shutdown. It is advisable to quit applications and restart, if your machine allows you to, since a power shutdown can damage your hard drive and other delicate internals.
Once your MacBook Pro is restarted, run through this shortlist of quick questions and fixes before it …