Here’s a hack that will easily let you determine whether or not a glass door is locked. All you have to do is paint the button of the lock on your door, with a color that contrasts with the rest of the door.
By doing that, you’ll be able to take a quick look at the door and you’ll know whether or not it's locked without having to walk over to the door every time.