Is there any way to get a list of times that a user logged on, logged off, locked, or unlocked their computer for the past week or so without adding a service to track it as it happens? Does Windows even keep that information for that long?
                
                A: 
                
                
              
            Check EventLog. I know that logon/logoff times are written there.
For Lock/unlock, I am not sure.
                  Josip Medved
                   2009-08-03 15:41:56
                
              
                
                A: 
                
                
              
            If you check the event log and you can look under audits for the username. It treats a logon/unlock as an authentication. There may be more in the event that you can trace it back to a spefic logon/logoff event (lock, or an actual logoff, etc).
                  Dustin
                   2009-08-03 16:43:15