Walk the property once
Try the back door, side doors, the door from the garage, and any sliding door. Check whether the garage has a keypad or whether someone in the house has a remote. Look at windows only to see whether one is already open; do not climb in through a high or awkward window, which is how lockouts turn into injuries.
Think about spares
Who else has a key: a family member, a neighbor, a landlord, a cleaner, a pet sitter? A ten-minute wait for a spare is often better than any other option. If you rent, your landlord or property manager may have a key and must be told before work on their locks anyway.
Avoid damage
Kicking a door, breaking a pane or prying at the frame usually costs much more to repair than a lockout, and broken glass is a real injury risk. If nobody has a spare nearby, call rather than forcing entry.
Before you call, gather details
Note which door you want opened, what kind of lock it has (knob, lever, deadbolt or keypad), and whether anything unusual happened, such as the door slamming in wind. Charge or conserve your phone. A clear picture on the first call makes the rest of the process faster and avoids surprises.