Had same problem, mine were only lose a bit but the fix took more than an hour to get the door open to tighten the screws.
I will say that my door gave me a warning that I ignored. The lock handle started to require an extra tug from outside, to get the lock to release. My bride had already complained and I of course ignored so I had no sympathy trying to open the door, "I told you so"....
My door was locked, and I could not budge the hasp back after ever after all the hardware was taken off on the inside door handle. I had to use an open end wrench to back the bolts on the door jam holding the latch back sufficiently wide enough to get a screw driver in to bush the hasp back until with a pill from my bribe on the outside the door opened. It was not intuitive, but worked.
I now regularly check those screws.