Hi Guys, thanks for your input.
I've already know how to do it via GPO, AD, and using screen saver.
But using screen saver actually, it's only locked the current user after idle for certain time, not forcing the current user to log off.
So that's why I'm looking for a script to tell the system...