Very common issue with Petes. Shut the truck off and let it go through its shutdown routine. As soon as you hear the transmission click it’s done. When you turn the key back on your dash lights should be operational. Never understood why they do this but every Pete I’ve ever driven does this.
On my ‘19 579 the AC does this too which is a first for me. Driving down the road, click on the AC.....and it blows warm. Shut the truck off, restart and it’s ice cold again. Doesn’t happen often though. These new vehicles are so computerized there’s no telling what’s going on in there.