Yea, it's immersion-breaking that the lock has suddenly be re-pinned by a phantom locksmith between attempts.
But it's also pretty immersion-breaking to have a time limit of any sort in the first place.
It's a game; the things that make locks hard to pick IRL are not something that can really be replicated here, so some compromises had to be made.
I could put this on the previous one, yet I didn't know this situation would come up. This could be like two different changes to pick locking.
When you fail to picklock a chest and come back on the same chest, It should give you the same set of pins to get past. It makes it harder to get past all the pins if they change each time. Now, I accept when a new chest is placed there in respawn that it's a new lock put on it.