To have your laptop go to sleep after a certain period of inactivity while keeping the lid closed, you can configure the sleep settings in Windows. Since you have already set the action for the lid closing to "Do Nothing," you can follow these steps to set the sleep timeout:
- Open Settings: Go to the Start menu and select Settings.
- Navigate to System: Click on System and then select Power & sleep from the left sidebar.
- Set Sleep Time: Under the Sleep section, you can set the time for when your laptop should go to sleep after inactivity. Set it to 5 minutes or your desired duration.
This way, even with the lid closed, your laptop will enter sleep mode after 5 minutes of inactivity, allowing you to continue using your monitor and keyboard without interruption.