Yesterday I installed lightroom on my MacBook 2016 but after editing a few dozen pictures the software stops responding and doesn't save any edits. I have to force quit it and reopen it but the problem keeps coming back.
Sorry that Lightroom is often not responding and also freezing your computer.
Which version of Lightroom are you using and what is your the version of macOS you're running?
As Lightroom is running freezing and not responding, could you please try turning off the GPU option from Lightroom's preferences? Go to Lightroom > Preferences > Performance tab > Uncheck "Use Graphics Processor" > Restart Lightroom and let us know if it helps?