It happens to me also. Fresh install of Lubuntu 18.04, fully updated, on an HP Pavilion g6. Whenever the screen is locked (either manually choosing to lock it, or automatically after X amount of time without using it), it will take many seconds just to simply draw the password dialog. But if I switch to the terminal with Ctrl+Alt+F1, then back to the X-Window "terminal", it will draw a text telling me that it will take a few seconds to show me the password dialog ??!! That message then disappears into a black screen, and more than twenty seconds later, finally the password dialog shows up. The laptop was doing nothing, completely idle... this shouldn't happen.
It happens to me also. Fresh install of Lubuntu 18.04, fully updated, on an HP Pavilion g6. Whenever the screen is locked (either manually choosing to lock it, or automatically after X amount of time without using it), it will take many seconds just to simply draw the password dialog. But if I switch to the terminal with Ctrl+Alt+F1, then back to the X-Window "terminal", it will draw a text telling me that it will take a few seconds to show me the password dialog ??!! That message then disappears into a black screen, and more than twenty seconds later, finally the password dialog shows up. The laptop was doing nothing, completely idle... this shouldn't happen.