how to edit lock screen on mac code example
Example 1: mac lock screen
CTRL + CMD + Q
Example 2: change lock screen key on macbook pro
1.Open System Preferences.
2.Open Keyboard Preference Pane.
3.Go to Shortcuts tab.
4.Select "App Shortcuts"
5.Click "+"
6.Select "All Applications", then type "Lock Screen" (it is case sensitive) and type your shortcut.
7.Quit System Preferences.