Class:BasePart/Locked – Roblox Wiki – Fandom

It sets the "Locked" state of a BasePart, preventing from selecting the BasePart in Roblox Studio with means other than using the Lock tool again …
View full source