Searching for new physics at the frontiers with lattice quantum chromodynamics