I’ve seens topics for checking if screen is locked using
adb but not the type of specific way which can be “none”, “swipe”, “pattern” etc. Is there a way to check it?
I did some digging, and it turns out that you are not the first person to try this. The short answeris that there is no answer.
Unfortunately, the answer that it gives is not what you want to hear, but if you can give us some additional context, we may be able to help you find a workaround.