If the shift lever cannot be shifted with your foot on the brake pedal, there may be a problem with the shift lock system (a system to prevent accidental operation of the shift lever). Have the vehicle inspected by your toyota dealer immediately.
The following steps may be used as an emergency measure to ensure that the shift lever can be shifted:
Vehicles with a smart key system: turn the engine switch to accessory mode.
To prevent damage to the cover, cover the tip of the screwdriver with a rag.

The shift lever can be shifted while the button is pressed

If the engine will not
start
If the electronic key does
not operate properlyVehicle identification
Vehicle identification number
The vehicle identification number (vin) is the legal identifier for
your vehicle. This is the primary identification number for your
toyota. It is used in registering the ownership of your vehicle.
This number is stamped on the
top left of the instrument panel.
...