The bailee for hire of labor and service shall have a special lien for his labor and services upon the thing bailed until he parts with possession; and, if he delivers up a part of the thing bailed, the lien shall attach to the remainder in his possession for the entire claim under the same contract.