not saying its okay, but this has been standard practice at every retail store job I ever worked (mostly 20+ years ago). You clocked out in the back, and then had to wait to be searched and released in the front of the store. This isn't Apple being weird, this is amazingly common.