Hi there toine209,
You've taken some great steps already with your MacBook Pro. Another step you can also take is to see if the same issue happens in a new temporary user. A new user doesn't have custom or changed settings, and can help determine possible next steps by isolating this further. If needed, this article shows how to add a new user: Add a user or group on Mac Does the issue happen there too?
Also, you'll want to make sure that macOS is up-to-date, as updates can help resolve unexpected issues:
"Use Software Update
Before installing new software, it's a good idea to back up your Mac.
- From the Apple menu in the corner of your screen:
- Choose System Settings. Then click General in the sidebar, and Software Update on the right.
- Or choose System Preferences. Then click Software Update.
2. If Software Update finds new software, click the Update Now or Upgrade Now button to install it.
3. Enter your administrator password, if asked. During installation, your Mac might restart, and you might see a progress bar or blank screen several times.
If Software Update says that your Mac is up to date, then no new software is currently available for your Mac model. Software Update shows only updates and upgrades that are compatible with your Mac."
Those steps are from this article: Update macOS on Mac - Apple Support
Take care!