If one lock is gold and squarish, and the other lock is round with a black face.
return locks ;return #1 that are  gold ;return #2 that are  squarish ;return number of #3 ;return if  #4 is  equal to one ;return #1 that are  round ;return faces of  #6 ;return #6 where #7 are  black ;return number of #8 ;return if  #9 is  equal to one ;return if  both  #5 and #10 are  true
['select', 'filter', 'filter', 'aggregate', 'boolean', 'filter', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']