SetLockKeyTag

// Set the key tag required to open object oObject. // This will only have an effect if the object is set to // "Key required to unlock or lock" either in the toolset // or by using the scripting command SetLockKeyRequired. // - oObject: a door, placeable or trigger. // - sNewKeyTag: the key tag required to open the locked object. void SetLockKeyTag(object oObject, string sNewKeyTag)

WARNING: This function is missing from NWN2 and thus any script which is imported that uses this function will fail to compile