This and insider threat mitigation is exactly why audit standards in regulated industries include mandatory vacations.
As a senior eng, I try to do the same when I have time off - work notifications are muted, and my away message is typically set to "I'm away for X days. If you to reach me, no, you don't."
1 week, people can mostly ignore your job function and limp by
2 weeks, people can do ~50% of your job and limp by
3 weeks, you do need someone to complete all/most of your job functions.