I don't think you were being locked in. I think she was checking to see if you had picked something up.
If you did, then she'd have settled the bill with you and sent you on your way.
Since you didn't, she opened the doors and said goodbye.
I don't see the problem here. I think you're being overly sensitive.,