Problem: I would like to dequeue the stylesheets and script files enqueued for the lightbox plugin, but the script I added does not seem to dequeue these assets as expected.
Solution: Use priority 1 in the third param of add_action to dequeue these assets more effectively: