Shift Lock on 2003 Nissan Altima

Car won't shift into gear and shift lock keeps getting stuck.

2 answers
I'm wondering if your brake lights are working. If they aren't, your brake light switch can keep the shifter from releasing and also will not light up the brake lights.
Brake lights work.Car Cranks up good,just won't go into gear.