Just because you were in an asylum didn't mean they didn't put you to work. I have the record of my great grandmother in the asylum & she point blank refused to work according to the records lol!
They were given work in the laundry, cooking etc.
Generally they were either buried in the grounds or the local cemetery which may hold records. Mine was buried in a mass pauper's grave in the local cemetery