They should allow people in depending on their surname. A-B from 9-10am, C-D from 10-11am etc. Would be pretty easy to do.
Your only trouble is what about someone with the surname Davison who has to work 10-11? Maybe easier if there's a full lock down (with key workers given a different hour) but currently I don't think it would be feasible