Q:

How to do auto-login without leaving your account open to everyone?

I always use only one account on my computer. 
I do have a lot of programs in startup and I need them all. The problem is that they take some time to load (for example eclipse). 
is there any way to do auto-login on the account and lock screen so no-one else can use my account?

A:

Use gnome-screensaver-command -l right after the list of programs you load.
It will lock your screen when you run it.

