Turning it in again after being locked in the room let me out. But reloading the save got the same situation. It might have something to do with loading a save from before the turn in was possible?
So, after turning over the goods to the couple, the game locks me in their room. I can knock on the door to redo the turn in (except I don't have the goods anymore and I get the fail state), but I can't do anything else.