I watched this movie about 15+ years ago when I was young so please excuse the vague plot. I’ve been trying to find the title of this movie for years without any succes. I think the movie was released prior to 2010.
The movie takes place in a crematorium or in an asylum with a crematorium. From what I can remember there was a young girl that was killed by a man, from what I can remember he was her father, he cremated her alive. The young girl had a ballerina music box. Years later the girl is haunting the crematorium/ asylum. I also remember that every single time the ghost of the girl would appear the ballerina music box would open and it would start playing.
A Cure for Wellness (2016) shares some similarities with your plot. It's set in an asylum, someone is burned alive and a girl gets a ballerina figure. https://en.wikipedia.org/wiki/A_Cure_for_Wellness
– celebes.warty.pig