You should call the store manager. Sometimes there could be staffing issues or security issues and some places with drive through do this. Only way to be sure is contact the store manager and ask.
It shouldnt be locked until exactly 10 p.m.!!
Thanks! Your answer is awaiting moderation.