As you can see, a mayor has pretty much full control over houses on their deeds and only by adding a lock to the door(s) can you limit access to them, but it will not prevent them bashing the walls down. If the settlement permits you to do so ensure that all containers and doors are locked. If you are unable to attach locks it would be best to discuss this with the mayor before you begin leaving your items inside of the house. Never assume items you leave anywhere else on the deed are safe, they are not.
=Other players, including villagers, will not be able to act as the mayor does in the above situations, even with the relevant settlement permissions enabled; only the mayor can override your house writ settings. Regularly checking the names of friends that have been added to writs is encouraged as accounts may be transferred to others at any time. Unless another player needs full-time access to a structure, only add them as a guest as needed.=== Mayors ====TBCMayors have free roam of the land they've deeded, with the exception of not being able to open any container that they did not lock or do not have the key to, including their own containers in their own structures that they've planted. They are also unable to move, or unhitch animals from, vehicles they do not have access to. Security for mayors is a little more simple in that providing the settlement permissions are tight they may store anything they like inside of an enclosed building without fear of it going astray. It is still good practice to use locks where possible and to regularly check writ permissions and settlement roles from time to time, especially if other villagers are allowed to modify them.