The United Airlines attendant had ordered the owner to put a bag with the pet in the locker.