People often get time off of work or school to be honored with formal talking gigs. IE your boss will let you off the hook to prepare for it because it makes your company/school look good. It'd be pretty embarrassing to have to explain to your boss or your PI that "oops I'm no longer a key note speaker"