Hi, Mayukh. I'm Robinson, and I’m happy to help you today.
You can do it using the Audit Policy, but this feature is only available on the Windows Pro version.
1-Right-click on Start then click on Run
2-Type: gpedit.msc and click on Ok
3- Go to:
Computer Configuration\Windows Settings\Security Settings\Local Policies\Audit Policy
The basic audit policy settings under Security Settings\Local Policies\Audit Policy are:
-Audit account logon events
-Audit account management
-Audit directory service access
-Audit logon events
-Audit object access
-Audit policy change
-Audit privilege use
-Audit process tracking
-Audit system events
After enabling the Audit Policy you will be able to see the events in the Event Viewer under Windows Logs > Security.
You can see which event ID you need to check at this link.