If your command is longer than 100 characters, it needs to be executed with a command block. Obtain one by typing:
            
            
                /give @p command_block
            
            
                
                You can give the armor stand a custom player head! Just replace Notch with an username of your choice.
            
            
                /give @p skull 1 3 {SkullOwner:"Notch"}
            
            
                
                You can use the following command to fully customise the equipment of your armorstand.
                In order for it to work, you have to put a command block close to the armorstand you want to edit. (Notice the r=2, where the r is radius.)
            
            
                /entitydata @e[r=2,ArmorStand] {Equipment:[{id:"iron_sword",Count:1b},{id:"iron_boots",Count:1b},{id:"iron_leggings",Count:1b},{id:"iron_chestplate",Count:1b},{id:"iron_helmet",Count:1b}]}
            
            
                
                If you are a mapmaker you might not want players to take items out of the armor stand. If you want to lock all slots, replace n with 1 (or 0 if you want to unlock it).
                If you want to 
disable specific slots, you have to add the numbers in following table up, and replace n with your result.
                
                    | Boots | 2 | 
                    | Leggings | 4 | 
                    | Chestplate | 8 | 
                    | Helmet/Block | 16 | 
                    | Sword/Block | Not working :( | 
                
             
            
                /entitydata @e[r=2,ArmorStand] {DisabledSlots:n}