Rendered result has a different camera angle than what I had set
Even though you have the camera view and have lock camera to view, the edges of the camera are not visible on the first image, hence you are looking at a zoomed in window that does not represent the full camera view.
Press the Home key to show the camera view.