26
votes
Accepted
Lock Mac without turning off the screen
KeepingYouAwake is a free and open source app that can be used for this purpose.
The intended purpose of this app is to prevent your Mac from going into sleep. You can activate this app from 5/15/30 ...
25
votes
How do I remove or change screen lock settings in macOS?
If you have the admin account you should be able to change the required settings.
The lock screen is affected by 3 settings.
The first is the System Preferences -> security & privacy -> ...
18
votes
Accepted
How do I lock my screen without making it sleep on macOS 10.11.3?
You can set up a hot corner for screen saver, and have the security settings to require your password immediately after the screen saver starts. This means when you go to leave the computer, you just ...
15
votes
Lock Screen Command One-Liner
Easy alias. Add this to your bashrc
alias afk="osascript -e 'tell application \"System Events\" to keystroke \"q\" using {command down,control down}'"
type afk in your terminal to execute.
11
votes
Automatically lock screen if I leave the MacBook
Automated solutions don't work as well in practice due to RF interference and false positive locks. I know you want automatic, but memorizing Command-Control-Q and using it when you get up coupled ...
8
votes
|OSX 10.10.5] Script execution stops when screen locked?
EDIT: With macOS High Sierra (as of beta 5) you can achieve the same "lock screen" behaviour mentioned by @Phong simply through the status bar menu:
What I think is happening is that your computer ...
8
votes
Accepted
How to enable screen saver for login screen?
To the best of my knowledge, it's not possible to trigger the screensaver from the lock screen. However, you could consider triggering the screensaver instead of going to the lock screen, then ...
7
votes
Is there a similarly fast alternative to Crtl + Shift + Eject for new Macbook that lack eject keys?
If you just need to lock the screen, you can use
Control ⌃ + Command ⌘ + Q
available since High Sierra.
7
votes
How do I lock my screen without making it sleep on macOS 10.11.3?
Just follow these steps to lock the screen on macOS.
In Spotlight (⌘ + Space) search for Keychain Access
In Keychain Access, select Preferences... from the first menu (⌘ + ,)
Check Show keychain ...
6
votes
Accepted
macOS High Sierra 10.13 briefly flashes screen content last seen before locking the screen when awaken
Yes - the frame buffer should be scrubbed / discarded as part of the sleep / lock process no matter how brief the render. I don't think it's a huge risk and can be mitigated as you say by logging out ...
6
votes
Accepted
Keyboard shortcut to lock the screen on macOS 10.14 Mojave?
You can use the built-in keyboard shortcut Control + Command + Q to lock the screen.
The command is also accessible via → Lock Screen in the Menu bar.
6
votes
Automatically lock screen if I leave the MacBook
We have the same culture in one of the environments in which I work. . . it's ruthless, so I know where you're coming from.
It's a good habit to get into to lock your screen whenever you leave it ...
5
votes
Using AppleScript to lock screen
I have a simple one liner for this. It uses System Events to send the default key combo for the Lock Screen command and works in all versions of OSX from High Sierra (10.13) on. Even Mojave! Though it ...
5
votes
MacOS 10.13.4 Cannot turn off lock screen in system preferences
I was stumped with some issues for days now, reading everything I could on the subject, and I finally found the solution: it is a keychain problem with as simple solution.
The solution is to delete ...
4
votes
Is there a quick way to lock my Mac?
There is finally a native way to lock your screen, starting with macOS High Sierra (10.13).
This can be done by clicking the Apple menu at the top left of the screen, and then pressing "Lock Screen." ...
4
votes
Accepted
Keep Mac from locking after sleep
Go to System Preferences > Security & Privacy and disable the "Require password x seconds after sleep..." by unticking the checkbox:
4
votes
How can I make reminders appear on my lock screen?
The Reminders widget only shows upcoming reminders. That is, those with a date/time set for them, and that date/time is still in the future. If you set reminders without a date/time, they will not ...
4
votes
Accepted
Add a persistent message to iPhone main lock screen
Turns out that the easiest way is to actually use the native Reminders.
Write a reminder
Set it to notify you 5 minutes from when you create it
Enjoy a permanent message on the lock screen until you ...
4
votes
Lock Mac without turning off the screen
I had the same problem, I used the free app Amphetamine from the app store.
After installing, I selected the indefinitely option to keep the screen for awake forever. I locked the screen and the ...
4
votes
Automatically lock screen if I leave the MacBook
Keyboard Maestro can do this very easily… under certain circumstances.
For example, if I was in such an environment, I would use a macro like this:
And the “trigger” would be unplugging my iPhone ...
4
votes
App to lock the phone “right now”
[Apple] - Use Emergency SOS on your iPhone:
Press and hold the side button and one of the Volume buttons until the Emergency SOS slider appears.
This locks the screen and requires a pin:
If you use ...
4
votes
Accepted
How to record audio/video with screen locked?
Yes, the Voice Over trick does work. What most tutorials fail to explain is what Voice Over is supposed to be. You can still use the phone "normally" while it's on, but you have to use ...
4
votes
Why will the iPad not auto-lock and turn its screen off after the set time has expired?
Universal Control via your Mac might keep your iPad unlocked.
When iPad is used with Universal Control, one can use the Mac's Mouse and Keyboard on the iPad.
Even when the iPad is moved away from the ...
4
votes
How to I force my Ventura-running Mac to disconnect from wifi when sleeping?
Sleep and Lock Screen are two different things. A Lock screen is simply that: the screen is locked, but all processes continue. Sleep is a low-power mode, where most processes are halted.
There are no ...
3
votes
How can I make reminders appear on my lock screen?
HOW TO SET THE REMINDER:
set it to the current day, and 5-6 minutes ahead of the time it is now
then make it never repeat
( as seen in the picture )
TO MAKE IT STAY ON THE LOCKSCREEN :
lock ...
3
votes
How can I extend the lock screen timeout in iOS?
Everything you need to know (I think) : First, the OP is about whether it’s possible to extend the amount of time the lock screen stays lit, not how long it takes before the unlocked device’s lock ...
3
votes
Lock Screen Command One-Liner
A quick way to sleep your machine via command line with the help of AppleScript is
osascript -e 'tell application "Finder" to sleep'
That doesn't lock your screen unless you have it set to require a ...
3
votes
Using AppleScript to lock screen
For High Sierra (10.13),the accepted answer doesn't work as Keychain Access has no Check Show Status in Menu Bar option. But, based on shamelessly looting the source of the Lockscreen App (as ...
3
votes
Using AppleScript to lock screen
macOS 10.11, El Capitan, seems to have broken ᔕᖺᘎᕊ's answer using AppleScripts, but I found that if I installed Lock Screen, and made my Automator Service open its "Lock Screen Bundle", the rest of ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
screen-lock × 203macos × 51
ios × 48
iphone × 47
macbook-pro × 21
sleep-wake × 20
security × 14
screensaver × 14
password × 13
ipad × 10
high-sierra × 10
keyboard × 9
mac × 8
notifications × 6
screen × 6
bug × 6
unlock × 6
network × 5
display × 5
applescript × 5
login × 5
terminal × 4
icloud × 4
bluetooth × 4
settings × 4