Juice in Games (juicy) camera talk from Squirrel Eiserloh (SMU Guildhall) covers this really nicely.
Common in games at this point, lock-on gives the camera an extra point of focus to help the player keep something on screen while moving around.
It can also allow for interactions, if the player is close enough. Ex. talking to an NPC, attacking this particular enemy, etc.