When someone sits down, it takes their photo.
Someone uses your Mac after it's been idle, tries the lock screen, or unlocks it. A second later there's a photo of them, with the time, how they got in, and how long they stayed.
Someone Was Here

Your Mac takes a photo of anyone who uses it while you're away, and tells you who it was.
For macOS 14 Sonoma or later.
Free on the Mac App Store, with a free iPhone app.
Someone uses your Mac after it's been idle, tries the lock screen, or unlocks it. A second later there's a photo of them, with the time, how they got in, and how long they stayed.
It learns your face in a two-minute setup with a few head turns, and checks every photo right on your Mac. You won't get an alert about yourself.
Nothing changes on screen while they're at your Mac. When it sees you again, your Mac tells you who came by. Add Phone Alerts and the photo reaches your iPhone within seconds, wherever you are.
It sits in your menu bar where you can see it, and it's made for protecting your own Mac. If you share your space, tell people it's there.
Hearing about it when you're back is free. Phone Alerts is a one-time $4.99 purchase, no subscription. Alerts arrive in the free Someone Was Here app for iPhone through your own iCloud, or in Pushover, ntfy, Telegram or a webhook.
Someone Was Here is free on the Mac App Store. Add Phone Alerts ($4.99, one time) and the free iPhone app, and the photo reaches your phone within seconds.
Then get the free iPhone app on the same page. See the privacy policy.