Does adding "temporarily closed" to your name on GMB affect SEO

No. Marking your listing as "temporarily closed" does not affect the rankings of your listing.