It isn’t possible to set context-specific redirects (see Deploy Contexts) but there are options. See [Support Guide] Conditional build/deploy behavior for context / branch on Netlify for more details, plus the linked blog by @fool Selective Password Protection.
Using CONTEXT
you could copy/generate a _redirects
file specific to the branch/preview in the publish directory.