Carnegie Mellon has no problem with you not teaching anything but grad courses if you bring in enough grant money to cover your salary and I’m not sure they care if you teach grad courses either.
UW CSE requires (or required when I was there?) their faculty to teach 2 courses every 3 quarters. So they got paid to teach, but they didn't have to teach very much.