Process events after showing lock screen

Make sure all events are delivered.