Is the IRA/SEP/SIMPLE box marked?
If the 2018 Form 1099-R in your name and SSN or your dad's name and SSN?
TurboTax would be displaying this message only for a code P or code R 2018 Form 1099-R, neither of which should be on a Form 1099-R for a distribution made to you.
If my name was on it, would the code in box 7 be something else or would that box be checked?
This seems a bit unusual, but perhaps is correct and needs to be reported on your dad's 2017 (final) tax return. It seems to be a return of an excess elective deferral your dad made in 2017, perhaps due to the 401(k) plan not passing the nondiscrimination tests since it seems that your dad could not have personally requested this distribution (unless he made the request in late 2017 before he died and the distribution was not completed until 2018).
It seems unlikely that this would be the only money that was in the 401(k) unless his death in 2018 somehow made him ineligible to make elective deferrals to the 401(k) plan for 2017, which seems unlikely.
A Form 1099-R reporting any distribution paid to you as beneficiary should have code 4 in box 7. I think you need to contact the plan administrator to be sure that the reporting is correct and to make sure that any remaining balance in the 401(k) is dealt with appropriately.