How to get my car to shift into gear on 1999 Volvo S80

My car was given to me and everything works fine except it won't shift into any other gear but park. It sat unused for quite a while what can I do to fix the problem

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
There's a shift lock system the prevents you from taking the shifter out of park until you step on the brake. This system is malfunctioning and should be looked at.