Hello hatsune07,

Thank you for using Apple Support Communities. It's my understanding your MacBook Pro has been intermittently freezing. I can surely see how this could be concerning, especially since your Mac was recently purchased. I'm happy to help.

In some cases peripheral devices can cause unexpected behaviors. I recommend removing devices such as printers, and see if the issue persists. Also, make sure all apps are up to date and compatible with macOS. If your Mac continues to freeze, try starting in safe mode. Starting in safe mode allows your Mac to run certain checks, remove caches, and prevent login items from automatically launching. This can isolate possible third party issues. Use the steps and information in the link below for assistance with safe mode:

If the issue persists, test in another user account. This will help determine if the issue is user specific or system wide.

If the behavior continues, tell us if this occurs with a specific app. Please include error messages and any other troubleshooting steps you may have tried.

Have a wonderful day!