Laptop falls asleep unintentionally regardless of sleep settings

My P15v turns off the screen on its own without considering the power saving setting.

This phenomenon seems to occur once it returns from sleep mode. The screen returns when the mouse is moved. The time it takes for the screen to turn off is quite short, about 20 seconds without moving the mouse. Restarting the computer resolves the symptom.