Hi please_help_me_kind_people,
If it is still not working on this one page, try booting into safe mode on the Mac and see if the issue persists. You can also test with another user account to see if the issue persists in there.
If the issue continues while in safe mode, or your Mac restarts several times and then shuts down while starting up in safe mode, you should reinstall macOS and make sure that your Apple software and third-party apps are up to date.
If the issue doesn't continue while in safe mode, leave safe mode by restarting your Mac normally. Then test for the issue again. The issue might be resolved.
If the issue returns after leaving safe mode, startup items are probably at fault. Apps can install such items in numerous places, and they aren't always easy to find or recognize. For that reason, you should first make sure that you've installed any available updates for your Apple software and third-party apps.
If updating your software doesn't help, try any of these solutions:
If you still need help, please contact Apple Support."
How to use safe mode on your Mac
Set up users, guests, and groups on Mac
Cheers.