如何记录PC锁定,关机,重启事件的时间(可能是日期时间)? [英]How to note the time (possibly datetime) of PC Lock, Shutdown, Restart Event?