There's no "unlock log" setting on iPhone, and apps can't read lock-screen activity either. What's left are traces of use after the unlock.
| Where | What it shows | What it doesn't |
|---|---|---|
| Screen Time | Apps used by hour, pickups count (Apple) | Who was holding it |
| App switcher | Apps opened recently | When |
| Messages and WhatsApp | Chats marked as read that you didn't read | Who read them |
| Face ID & Passcode | Whether an alternate appearance is enrolled | Whose face it is |
Check Face ID for a second face
Go to Settings > Face ID & Passcode. If Set Up an Alternate Appearance is missing, one is already set up. If you didn't add it, tap Reset Face ID and set yours up again (Apple). On Touch ID models, check the fingerprints list (Apple).
If someone knows your passcode
Change it in Settings > Face ID & Passcode > Change Passcode (Apple), and type it where nobody can see.
Know the next time
Since iOS won't keep an unlock history, put a guard on the phone before you leave it. WTMP, armed on the desk or charger, sounds a loud alarm the moment someone picks it up or unplugs it, and logs the exact time and trigger on your iPhone. Silencing it takes your passcode.