I think I know what you mean. So you put the camera for the object as your current camera, but you want to lock it. ViewportFrame Release That article explains what Viewports are and how to lock a camera in a specific place.
local vf = Instance.new(“ViewportFrame”, script.Parent)
vf.Size = UDim2.new(0.5, 0, 0.5, 0)
vf.Position = UDim2.new(0.25, 0, 0.25, 0)
vf.BackgroundColor3 = Color3.new(1, 1, 1)
local part = Instance.new("Part", vf) --replaceable with you part
part.Position = Vector3.new(0, 0, 0)
local camera = Instance.new("Camera", vf)
vf.CurrentCamera = camera
local cameraPosition = Vector3.new(3, 3, 3)
camera.CFrame = CFrame.new(cameraPosition, part.Position)
That script gets the object and puts the camera in the position. The camera position can be adjusted to get the position you want. I hope this helped ![]()