Problem with computer suspension

Hi everyone, i recently bought a HP notebook ( HP - Notebook Stream 14-DS0001NL ) and installed Mageia instead of W10 because I find it more comfortable for the use I have to make of it. By the way, I noticed a problem when I close the computer "cover"; when I re-open it, it shows a black screen and the only one thing I can do is to move the cursor. Everytime I have to turn off the notebook with the power button, then turn it on so I can normally use it.
This is uncomfortable because often I have to close the computer cover. I would like to find a way so that when I reopen the PC it shows me the login interface, similarly to what happens when the PC suspends for inactivity with open cover.
I kindly ask if there is a way to fix this.
This is uncomfortable because often I have to close the computer cover. I would like to find a way so that when I reopen the PC it shows me the login interface, similarly to what happens when the PC suspends for inactivity with open cover.
I kindly ask if there is a way to fix this.