Process p = new Process();
p.StartInfo.WorkingDirectory = "c://windows//system32";
p.StartInfo.FileName = "rundll32.exe";
p.StartInfo.Arguments="user32.dll,LockWorkStation";
p.Start();
p.StartInfo.WorkingDirectory = "c://windows//system32";
p.StartInfo.FileName = "rundll32.exe";
p.StartInfo.Arguments="user32.dll,LockWorkStation";
p.Start();