Currently, there is no specific Graph API documented for assigning sensitivity labels to files through an Office add-in in the US Government cloud. The API you referenced is applicable to the global cloud, and it appears that similar functionality may not be available or fully supported in the US Gov environment.
Regarding the error you encounter when trying to apply a sensitivity label while the file is open, this is a common limitation in many file handling scenarios. Typically, files must be closed by all users before certain operations can be performed. As of now, there is no documented workaround or permission that would allow you to bypass this restriction.
For your specific needs, it may be beneficial to monitor the Microsoft Graph documentation for any updates or new API releases that could support your requirements in the future. Additionally, consider reaching out to Microsoft support for more tailored assistance regarding your use case in the US Gov cloud.
References: