As in the title : "Merge All" doesn't merge invsible layers

I'd like it to merge all layers except locked ones.
Nathan
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation:
https://www.disnosc.fr/ -
nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.