My oldest child committed suicide on New Year's Eve of 2021, aged 36. I reached out to my boss and HR saying I'd need some time away. HR responded by telling me not to report to work for two weeks. We'd talk at that point about whether I was ready to come back or not, with a possible extension if need be.
This is the way you do it.