Lock a sequencer from virtual sequence

It is challenging to pinpoint the problem without a functioning representative testcase. It’s conceivable that other sequences are being performed that compete with this sequence since the lock() function waits until the sequence is arbitrated.