whose for things
The possessive relative for a thing as well as a person.
Whose is the possessive relative for people and for things. Of which is available, but it is heavier. You need not reserve whose for persons.
Examples
Usea lock whose pin had sheared
Avoida lock the pin of which had sheared