Electronics brand Honor has agreed to install Microsoft Corp.’s Windows 10 operating system in its laptops as it seeks to reestablish ties to American suppliers a month after getting the green light to do so following its sale by embattled tech giant Huawei Technologies Co. Ltd.