I know protect does, but I'm not sure about substitute.
Nope, Substitute doesn't have any priority, which is a very good thing. This allows a slow Pokemon to use it, then use Focus Punch the next turn without fear of nothing happening.
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.