Sperren Sie den Bildschirm PowerShell

#this command will bring you to the lockscreen of your computer
#works in .ps1

rundll32.exe user32.dll, LockWorkStation
Maximauve_