Updated equipment to use lock_attr