Some lockouts happen because the keys are inside. Others happen because the key no longer operates the lock, the deadbolt will not retract, or a knob lock was set before the door closed. Each situation points to a different method. Before the visit, note which locks were engaged, whether you have any key at all, and what happened when you last tried it.
Photographs help. A picture of the exterior trim, the deadbolt and the key, if you have it, lets us identify the hardware family before arrival. Do not send close images of key cuts to anyone you do not know, and avoid posting them online. Key profiles can be copied from clear photographs.
If the key turns but nothing happens, the connection between the cylinder and the bolt has usually failed inside the lock, the classic sign of a key that turns while the door stays locked. If a bolt is jammed in the frame, see a stuck deadbolt that keeps the door closed. A broken key stub in the cylinder is covered under broken key extraction.