Quantum thermalization, localization, and constrained dynamics with interacting ultracold atoms