This code, assuming there is a Part named "Part" in the Workspace Workspace, would anchor that part.
Workspace.Part.Anchored = true