lock 直接就锁屏了啊
通过 osascript -e 'tell application "System Events" to start current screen saver' 实现了
osascript -e 'tell application "System Events" to start current screen saver'