I use a docked ThinkPad with the lid closed and two external monitors. Here are my config bits.
set $laptop eDP-1
set $landscape 'Hewlett Packard HP ZR24w CNT037144C'
set $portrait 'Hewlett Packard HP ZR24w CNT03512JN'
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
### Output configuration
output $laptop bg $HOME/pictures/wallpaper/1529004448340.jpg fill
output $landscape bg $HOME/pictures/wallpaper/1529004448340.jpg fill
output $portrait bg $HOME/pictures/wallpaper/portrait/DYabJ0FV4AACG69.jpg fill
# pos args are x coords and y coords, transform is degrees of rotation counter-clockwise
# set $portrait as left monitor and rotate it counterclockwise
output $portrait pos 0 1200 transform 270