pass 'script' argument to get_lock_instance