Hey there
With classic sites, you can make use of Infopath to create cascading dropdowns on document library properties. With modern sites, you can use Powerapps to create a cascading dropdown, but this is only available for lists and not for document libraries.
Is there a way to create a cascading dropdown on a modern document library?