The idea was that he was going to the kitchen to eat and went back to his “duty” afterwhile. Giving the player the time for open the safe in between.
But I made it very “primitive” AI so those extra tasks weren’t scripted in the final release.