Can not make hibernate on UEFI (Secure boot)
Apparently hibernation is disabled by design with secure boot, since modifying the stored memory content is a potential attack vector.
There seem to exist some kernel patches, which implement signed hibernate images
https://lwn.net/Articles/651274/
but I don't know whether there exist any usable packaged kernels for Ubuntu, which include those.