If you can, I would look underneath the seating area. Follow the levers and bellcranks of the shift linkage down to the transmission case. Try to disconnect the linkage from the transmission selector. Do not remove the lever on the side of the transmission. Some will allow the mechanism to fall out of place if removed.
Try to move the linkage separate from the transmission. If it is binding, figure out where, and count yourself lucky.
If it moves relatively freely, you likely have a frozen/rusted transmission selector. The lever on the side can bind due to electrolysis between the lever & case metals, or just plain corrosion. To free it up, you have to determine if it is the external lever or the internal detent locator, or the linkage the moves the internal forks, or the forks themself.
There is a series of posts in another thread that shows some internal parts so you have an idea in general of what goes on to change gears. If you are up to it, and don't have $$'s for a replacement {craigslist..ebay...}, you can remove it and spit the case, inspect, clean, de-rust, free up, and so on. What do you have to lose? Unless you like running in 3rd all the time. Which is a viable plan for most mowing, just don't get caught in a corner where you have to back up.
tom