Ignoring depth header when performing locking.