I'm planning to develop a window form application to collect the user login session details.
Scenario: "Consider 10 systems connected with windows server 2012. I want collect the log in, log out and lock details of 10 user systems from my server(windows server 2012)."
Is it possible get those details using c#?
Yes, it's possible. You need to analyze Logon\Logoff event ids of Security event log.
After you filter logon\logoff events, you can link them pairwise by LogonID field.