Today, my husband removed the front panel of the hydraulic controls, then loosened the two rings that hold the battery connect switch. By adjusting the position of that switch, we can now leave the batteries on with the compartment door closed and locked. Obviously, our switch was not installed quite right.
Thanks for all your comments.