Many of you are already aware about the recent macos screenlock table addition which @terracatta wrote for osquery, I wrote up a blog post about how we did it, and also how you can query it remotely using kolide launcher!
https://blog.kolide.com/checking-macos-screenlock-remotely-62ab056274f0