for Each If Unlocked
iterate over the listeners only if isLocked is false.
the isLocked is true, the forEachIfUnlocked loop is ignored and returns immediately
Parameters
execute
a function to execute on each listener
iterate over the listeners only if isLocked is false.
the isLocked is true, the forEachIfUnlocked loop is ignored and returns immediately
a function to execute on each listener