def fur_map_unlocker(furD, lock=False):
    fur_attrs = [
        "BaseColorMap",
        "TipColorMap",
        "BaseAmbientColorMap",
        "TipAmbientColorMap",
        "SpecularColorMap",
        "SpecularSharpnessMap",
        "LengthMap",
        "BaldnessMap",
        "InclinationMap",
        "RollMap",
        "PolarMap",
        "BaseOpacityMap",
        "TipOpacityMap",
        "BaseWidthMap",
        "TipWidthMap",
        "BaseCurlMap",
        "TipCurlMap",
        "ScraggleMap",
        "ScraggleFrequencyMap",
        "ScraggleCorrelationMap",
        "ClumpingMap",
        "ClumpingFrequencyMap",
        "ClumpShapeMap",
        "SegmentsMap",
        "AttractionMap",
        "OffsetMap",
        "CustomEqualizerMap",
    ]

    # set lock state
    for attr in fur_attrs:
        try:
            print "setting lock: %s for %s.%s" % (lock, furD.name(), attr)
            furD.attr(attr).setLocked(lock)
        except pm.MayaAttributeError as e:
            print e
            print "%s attribute is not mapped" % attr
            pass
unlocks all the fur map attributes for the given furDescription node
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/fur_map_unlocker