local part = game.Workspace.Part part:Destroy()
Destroy locks the Parent property of the object.
part.Parent = Workspace --> The Parent property of Part is locked