>is there a way to lock the screen after idle few minutes?
>
>Jerry Yang
Is your question of how to detect the idle time or how to lock the screen? For the later, look at LockWindowsUpdate API function.
If it's not broken, fix it until it is.
My Blog