In general you can not set
biblatex's global options locally within your document. Some options can be set on a per-type or per-entry basis (starting with version 3.13 of
biblatex many more options are settable at those scopes: https://github.com/plk/biblatex/pull/866, https://github.com/plk/biblatex/pull/877), but that is not the same as toggling one option inside the document. Note that some option values are passed on to the backend and thus can not be changed on the fly since they need to be fixed throughout the entire document.
The internal implementation of the options for DOI, ISBN,
eprint, however, can be easily changed locally. The options are implemented via an
etoolbox toggle (see
standard.bbx, ll. 4-21). Calling the option
<option>=<value> is pretty much equivalent to setting a toggle of the name
Hence, you can try something like
\printbibliography[title=\refname\ with DOI]
\printbibliography[title=\refname\ without DOI]
\printbibliography[title=\refname\ with DOI again]
Note that this is a viable solution if you want to locally (regionally) disable certain features in your document. If you want to suppress the DOI for certain entries, for entries with a certain property (for example for entries of a certain type), then there are more natural ways to do that (for example with a per-type option, a sourcemap or a test).