I found the answer buried in the plotly reference docs.
The attribute needed to lock the axis range is fixedrange
fixedrange