That error means your queue item handling is flawed. The process (or object) that locks the item via Get Next Item is the only one who can update the item (eg Set Status, Mark Complete, mark Exception etc), it can't be done by another object - if you try you get that error. I think the only edits you can make to an item without owning the lock are Tag and Untag.