In that case it would be really hard to believe a worker would hold you up. Ask for the code and they will give it to you if they need it. No one is so rigid about these things especially when you are a shift worker paid minimum wage.
When your kid is actively pooping their pants, the last thing you want to do is waste time asking for the code, but yes, most people are pretty understanding.