That's right. And simultaneously send a text like "FedEx opened the gate" or "Doordash failed to open the gate after hours" to my and my wife's phones.
I don't think so. The only time expired codes were used was legit delivery people using outdated codes. Sometimes they would even try multiple old codes. They must have ways of saving old codes that worked once.
Thieves didn't bother with codes, they would just climb over the gate or tailgate someone else.