Bell's theorem assumes statistical independence in its proof that local hidden variables can't reproduce QM. Superdeterminism violates statistical independence, therefore Bell's theorem does not rule out a superdeterministic local hidden variables theory, like this one:
https://arxiv.org/abs/2010.01327v5