As far as I know, there is no such function with Dynamic lock.
On Professional editions of Windows, you can enable logon auditing to have Windows track which user accounts log in and when, so you can’t use this if you have a Home edition.
You can try to use the Event Viewer to see who signed into your computer and when it happened.
Search for Event Viewer, click the top result to launch the experience.
Browse the following path:
Event Viewer > Windows Logs > Security
Double-click the event with the 4624 ID number, which indicates a successful sign-in event.
Hope above information can help you.
---Please Accept as answer if the reply is helpful---