Hi @mohammadali,
- Please see [HowTo] Provide System Information,
1.1. and [HowTo] Post screenshots and links
1.2. and also [HowTo] Request support. - While I don’t use Gnome it sounds like a behavioral issue to me. See https://askubuntu.com/questions/17157/how-do-i-stop-the-screen-from-being-locked-on-suspend#70295:
What worked for me on Ubuntu 11.10 is to execute the following in a terminal:
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'You can also install dconf-tools and use dconf-editor to set the same setting manually.
So, while I don’t know if this’ll work, you can try:
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'
Hope this helps.
Edit:
Also, according to this answer:
Go into
System Settings > Security & Privacy > Lockingand disable both options. Also if you want to autologin every time you boot up your PC you have to enable the option insideUser Accounts.