I’m on my mobile right now, but you can find several examples if you search for instances where people have needed to know whether a lock has been closed using the thumbturn (from the inside), or a button (from the outside).
I’ve posted at least one such example in the last year or so. But there are other similar approaches that have been posted.