void XtAppLock(XtAppContext app_context);
void XtAppUnlock(XtAppContext app_context);
XtAppUnlock unlocks the application context.