[edited for claryfing some details]
I installed Lutris (utility for running games designed for windows) and Winehq (required for it) and after reboot the system got stuck in "record successful boot for GRUB" (see image)
When I boot, I see the GRUB menu for choosing Ubuntu / Ubuntu recovery mode / Windows / etc. Then if leave the normal startup begin, the system gets stuck as above, but if I enter in the recovery mode and request to keep normal startup (without actually doing anything else) then the system boots apparently fine, apart from some details that do not work properly (I had to change the scale of the display, and the laptop does no longer suspend when closing the lid, in addition some of the Fn keys like brightness do not work anymore -- BTW it is a Thinkpad X1 carbon 5th gen). I tried to fix packages via dpkg in the recovery mode it but does not help.
Now the question is what did I broke when installing winehq/wine/lutris. I had to enable i386 architecture and add several repositories, which I already deleted (anything related with i386/wine/winehq/lutris...)
It seems that Lutris/wine has messed up some graphics driver or power manager or whatever, but I do not find similar problems reported. Has anyone any idea of what has been broken and how can I fix it?
I had similar problem after trying to install wine. I removed and reinstalled wine but didn't change anything. Using nomodeset stopped brightness control from working. I was able to fix it finally.
Boot with nomodeset and open Terminal. Then run these commands:
Remove nomodeset from grub and save.
That's all. Everything should be fine after this.