How do I lock the camera in place and prevent the player from moving when they join the game?

–Server Script for preventing the player from moving
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local Humanoid = Character:WaitForChild(“Humanoid”)
Character.Humanoid.WalkSpeed = 0
local ccamera= game:GetService(" Workspace").CurrentCamera
ccamera.CameraType = Enum.CameraType.Scriptable
ccamera.CFrame = Position here
end)
end)
Sorry for my ugly code. Im om mobile