Python package for doing stuff on screen lock/unlock