make lock screen work on mac os x