Restart on sleep (MacBook Pro M4)

Hi,
when sending my MacBook Pro M4 Max (with Sequoia 15.4.1) to sleep, it will restart after some time automatically. Removing BitDefender from the list of background objects will solve this particular issue, but surely is not supposed to be done.
Am I the only one with this issue? Is there a solution to wake up my Mac and continue work where I sent it to sleep instead of running a full login each time?