Lock will not be acquired, but the error isn't necessary. Fixing in master, potentially backportable.