add locking capability to XFormInstance