events: Add note to update_event_times comment about holding ctx->lock