Kernels before 6.3.0 had an issue when resume wouldn't work. The sympthoms are: after resume screen would switch on and off and the whole system is unresponsive.
Install kernel 6.3.0. In my case it was linux mainlina 6.3.0-rc7 and the issue was fixed.