If each image shows one non-square lock, and neither lock has wheels with a combination on the front.
return lock  ;return #1 that are non-square ;return images ;return number of  #2 for each  #3 ;return #3 where  #4 is equal to  one ;return number of  #3 ;return number of  #5 ;return if  #6 is equal to  #7 ;return wheels ;return front of #1 ;return #1 that has #9 with a  combination on #10 ;return number of  #11 ;return if  #12 is equal to  zero ;return if  both  #8 and #13 are true
['select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'project', 'filter', 'aggregate', 'boolean', 'boolean']