Python script that logs my login/unlock and logout/lock actions.