Mac gets shut down every time I close the lid
I recently bought my MacBook Air. Every time I close the lid of this laptop, it gets shut down. It doesn't go to any sleep or other mode. I don't know how to fix this? I need help regarding this.
MacBook Air 13″, macOS 15.3