2011 Dodge Charger - Car is in park, but screen says otherwise

my car screen reads car not in park and it take some time to shut it down but it is in park

I presume you mean the transmission indicator says the car is in reverse (or some other gear) when it’s in park? And that you can’t shut the engine off or can’t get the key out of the ignition because the car thinks it’s not in park? One possibility is that shift indicator is bad. Another is that the linkage (if it has one) is out of adjustment.