I don't think that there is a correlation between
a lock table overflow and your BAR_BSALIB_PATH
onconfig parameter.
This makes no sense.
Does this happen every time when you backup
your databaseserver and your BAR_BSALIB_PATH
is not set ?
You might consider increasing the onconfig parameter
called LOCKS.
This might help. However there might be an ugly written
application, which is allocating many locks, so you
might again run into this problem.
You could download the BusyBee database monitor from
my website for free. It looks (despite several other things)
for applications which allocate a certain amount of locks:
http://www.herber-consulting.de/BusyBee