[GUIDE] Framework 16 Hibernate (w/ swapfile) Setup on Fedora 40

You have this thread which is saying you would need to modify your kernel to support hibernating with secureboot enabled.

I would imagine that still applies, based on your results