How to make a dynamic shadow light proof?

How can I make the shadow of a dynamic light be impervious to any other light? So that the dynamic shadow is always on top no matter what and is completely pitch black

chandge the Channel of influence. exlude object from the chennels that is influenced by other sorces

wait wait what channel, what do you mean? please explain (preferably with pictures)