frozen gear box?

This isn&#8217;t a truck but some of you might know what&#8217;s up. My buddy calls me and says he was at a red light and ground a gear trying to push it into 1st to take off (clutch in). Then he says he was having a really hard time getting it into any gear but third gear. He parked it and asked if I would take a look. My first thought when he was explaining this was maybe the slave cylinder, but when I looked at it today the thing wouldn&#8217;t come out of reverse when the clutch was in, and it wouldn&#8217;t shift either when the engine was shut off&#8230;so I know it&#8217;s not the slave. We rocked the car and when I was rocking the car he was able to get it out of gear but he couldn&#8217;t get it into any others unless I rocked it, except third, it went into third fine. Also when the car is in gear and you let off the clutch the car doesn&#8217;t move at all, it doesn&#8217;t budge, almost like the transmission is completely frozen&#8230;I told him to get it towed to a tranny shop&#8230;the car is a Mazda 626 I think, any ideas?