The following query can be run in Aeries to list all lockers that are unassigned to students:
LIST LKR IF SN = 0
In addition, the Locker Assignments Report includes an option to Print only Unassigned Lockers which can be used to generate a report of all unassigned lockers.