I would to know if it is possible to to get parentId of a i

I would to know if it is possible to to get parentId of a
item in a locked tree (dhtmlxTree). When I try to obtain it, i have a
blank result.

The locked item is not operable, so any function which
operate with locked item will be blocked.

The only way is:
unlock item
run functionlock item again