locks can be used to protect things