A SELECT AND CONSUME operation sets a rowhash-level WRITE lock. To upgrade to an EXCLUSIVE lock, use the LOCKING request modifier. See LOCKING Request Modifier.
If the request enters a delay state, the lock is not granted until after a row is inserted into the queue table.