Therefore, locks acquired in one process (or transaction) do not directly affect locks in another process (or transaction).
Um....maybe if you describe the exact problem you are trying to solve with advisory locks, we can find the best solution. It may not even involve advisory locks.