Trying to revolve the camera around an object

By making an empty parent of the camera by using “parent to constraint”.
When I enable lock camera to view and scroll the mouse wheel camera goes to some large random coordinates.
This issue is not happening when I directly parent without “parent to” constraint.

I believe what you’re looking for is the Track to constraint, not the Parent constraint. Here’s a short video showing how to set this up: