<p>Actually it is possible. Use VBA. Try this
</p>
Sub AutoOpen()
Dim strDocName As String
Dim strDocpath As String
Dim nDocName As Integer
Dim nDocpath As Integer
strDocName = "Sample.docx"
strDocpath = "E:\Temp"
' If the two strings sort equally, Returns 0.
nDocName = StrComp(ActiveDocument.Name, strDocName, vbTextCompare)
nDocpath = StrComp(ActiveDocument.Path, strDocpath, vbTextCompare)
If nDocName = 0 Then
If nDocpath = 0 Then
ActiveWindow.DocumentMap = True
End If
Else
ActiveWindow.DocumentMap = False
End If
End Sub
<p>More ways at
</p><p>
https://www.datanumen.com/blogs/2-ways-show-navigation-pane-one-specific-word-document/
</p><p>Good luck
</p>