Looks like I fixed freezing problem with my Korg M50 88.
I spoke with Korg's serviceman, he told me that in 90% of cases with M50's freezing problem is caused by wiring harness connectors from center circuit board to right or left panel circuit boards. Wires are often too loose in those little plastic plugs but sometimes are too firmly pressed and cut.
So, I unplugged all plastic plugs (connectors) on left and right PCBs, then I twisted wires making one full circle to make more tension on these connectors and I plugged them back. My M50 didn't freeze since then. Looks like it fixed the problem.
