TurboTax will automatically fill out IRS Form 1310 when you file a return on behalf of a deceased person (also called a decedent return).
For a death that occurred during tax year 2022, make sure you indicate that the person died during 2022 or before they filed their 2022 return.