Support for locking more than 1 resource at a time