I can't seem to get my legacy to shift into park. What should I check? on 2007 Subaru Legacy

First time this has happened, drove it up hill in snow and slush and when I came to a stop and tried to put it into park it wouldn't go into park. Plus the key won't release, probably because of car being in gear. anything else I should check?

Asked by for the 2007 Subaru Legacy
poss a shifter cable that poss slipped or the linkage on top of trans