In recent years, American apartments I've lived in have made it impossible to lock the front door from the outside without a key so you can't lock yourself out, thereby eliminating the need to call the landlord or manager over incidents like that.
They have a knob that doesn't have a locking mechanism at all and a deadbolt that locks from the inside without a key, but cannot be locked without a key if you leave.
They have a knob that doesn't have a locking mechanism at all and a deadbolt that locks from the inside without a key, but cannot be locked without a key if you leave.