thanks JM...
solution:
Code:
 [DllImport("user32.dll")]
 public static extern void LockWorkStation();
...im just curious, how can i get the list of available API Function from the user32.dll?