when the function of a structure is to protect can you think of an example of something it protect

A structure such as a lock or a safe is designed to protect valuable items from theft. Another example could be a fence or barrier that protects a property from trespassers.