Fuente: https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/locking-workstation-1