Quick checks
Make sure the door is fully closed: commercial doors with closers sometimes stop just short of latching. Check whether a deadbolt or bolt at the top or bottom of the door has been left engaged in the open position, which stops the door from closing fully. Try the key with gentle pressure on the door toward the frame.
While you wait
Keep one authorized person on site. Do not leave the door propped or wedged, and do not tape the latch. If cash or valuables are on hand, follow your normal end-of-day procedure for storing them.
Call before staff leave
Call while the person who can approve work is still there or reachable. Describe the door: glass storefront, metal back door, double doors, and what the lock is doing.
After the fix
Once the door is secure, tell staff what happened and what changed, and note it in your maintenance log. If the same door has failed before, mention it on the call next time; repeat problems often point to the door or its use rather than the lock alone.