A question about unnecessary authentication

In KDE there is a setting that to suspend after X amount of time. Have no idea where it is in Gnome