How to enable sleep by Lid close on laptop, especially Lenovo?

As the title mention above, how to enable sleep by lid close? Does it need to change some lines on DSDT or any SSDt to be added?

currently I'm running macOS Big Sur. Here's my specs:

Lenovo S340- 14IWL



Intel UHD 620

Opencore 0.6.3

macOS Big Sur 11.0.1 (20B29)

submitted by /u/tasco11
[link] [comments]