How to make lock and unlock button for levels?

i did this but in my editor set enable’s target is not connecting with
for each loop, i think i’m setting wrong data type. waht data type you set to level array.