1. The incoming walls and ceiling were a security measure of Cora’s to stop the heart’s being taken. It was designed to crush would be thieves rather than destroy the merchandise.
2. When the statue was placed against the walls it stopped the walls from moving which suggests that if the walls touched they would stop moving inwards.
3. The ceiling began moving down even though the walls had moved in. Since the hearts are built into storage within the walls, and the walls weren’t being crushed, I would say that the hearts are safe and the crushing walls and ceiling are a security measure.