Hint to the developer: there are some aspects(restore/recover) that may trigger behaviour (OnRestoreNodePolicy) where we can fix whatever is missing/broken in order for the locks to be restored ok
Developer should also add proper tests for this fix and complete the tests added to MNT-14671 with this case