Camera Lock-On help

Heya, going straight to the point

I Have a Lock-On System which gives the player the ability to lock his camera onto another player’s character.

The thing is, I had to make a custom scrolling system (which is not my favorite) due to the camera not being scrollable when locked.

But then I saw that in a fighting game called “SoulShatters Test Place” the locked camera appears to be using the default scroll system.

(Y’all can test it using the M3 or L key in that game)

How can this be achieved?