It’s called a countdown timer:
https://www.amazon.com/Century-Digital-Countdown-Repeat-Function/dp/B01D3QEK4E/ref=mp_s_a_1_10_sspa?keywords=outlet+timer&qid=1697979950&sr=8-10-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9waG9uZV9zZWFyY2hfbXRm&psc=1
Thank you!