Resigning under protest isn't really effective unless you are difficult to replace. Even in that scenario, you can almost certainly "protest" more effectively by speaking out and seeking targeted changes and then ultimately resigning or forcing them to fire you when they don't change. Protesting is at its core being an un-ignorable pain in the ass until a problem gets fixed. Resigning is pretty ignorable, especially if your reasons for doing so are not clear.