Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the