multi instance locking