He was probably off the clock as he had just locked up. He was also on a public street. This “should” factor in.
Actually, the guy was attacked as he walked out the back door of the restaurant...he was turning around to lock the door behind him when he was struck on the head.
He's lucky he was carrying....