As far as I'm aware it doesn't report locked/unlocked status, but it does report system idle time which you could use for a similar automation.
As far as I'm aware it doesn't report locked/unlocked status, but it does report system idle time which you could use for a similar automation.