MP1-4307 : Locking some critical part to avoid third party plugins to trigger 'System.AccessViolationException' in fontEngine.