If your vehicle is showing cannot move the shifter out of park, here are the most likely causes and the parts you'll need to fix each one.
The shift interlock system requires a signal from the brake pedal to release the shifter from Park. If the brake light switch fails, the vehicle's computer does not recognize that the brake pedal is depressed.
A blown fuse on the brake light or shift interlock circuit will cut power to the release solenoid. This is frequently caused by a shorted brake light bulb or incorrectly installed aftermarket trailer wiring.
If the vehicle was parked on a steep incline without engaging the parking brake first, the entire weight of the vehicle rests on the transmission's parking pawl, physically jamming the shifter.
The electronic solenoid inside the center console that physically unlocks the shifter can fail mechanically. It is also very common for spilled sugary drinks to seep into the console and glue the mechanism shut.
The physical cable or bushings connecting the shifter to the transmission can bind, break, or become disconnected. This can happen due to age or if the linkage was improperly adjusted during recent transmission work.
The shift interlock system requires the key to be recognized in the 'ON' position. A worn ignition switch or lock cylinder may fail to send power to the interlock circuit, keeping the shifter locked.