Great advice! This will prevent the game from locking on startup.
I think it's easier to edit the "dosbox.conf" file with any text editor. Make sure the line reads "turn off a20 gate on boot = true".
Then you can use dosbox-x freely any never worry about it. I've never noticed any benefit to having this set to the default "=no".