...
In PDF and Image templates.
In DocX templates.
...
Legend properties window gives you control over the layout of map legend entries. All fields in the Legend Properties window are explained on the inner preview.
The legend properties in DocX page layout cannot configure border colour and width here. As all the placements are effectively images in the document border styling is done in Word.
This is how the Key panel looks in Print.