Cheney asked Obozo to extend it for six months and it was granted. Trump and Melania get it for life.
I think former presidents are now only entitled to 10 years of protection but each successive administration has waived it for the previous one. I am guessing that same courtesy will not be extended to President Trump.