centos settings prohibit automatic lock screen
If Centos is not used for a few minutes, the system will automatically lock the screen, which is a security measure. But for most people, this is unnecessary, and it is a waste of time to re-unlock the screen after each lock.
Solution:
(1) Open the system settings, find "Power" and "privacy"
(2) According to the prompts, you can set the screen off and lock screen time, and you can set the options "off" and "never".
After this setting, the screen will not automatically turn off and lock the screen automatically.