How to add purchasable walls/barriers. (Difficulty: 🟩)

In the optional section in one of the guides, the guy says how to do it: