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
Use a lock whose pin had sheared
Avoid a lock the pin of which had sheared