Report question

Question: Is there a way to check if the iOS device is locked/unlocked?