Premature Burial (1962)

Ray Milland plays artist Guy Carrell

The artist Guy Carell's painting

The artist Guy Carell at his easel

Premature Burial on IMDB

Guy Carrell (Ray Milland) is a tormented man who believes his father was entombed alive after suffering a cataleptic attack. In order to avoid a similar fate, he constructs a special tomb that will allow him to escape. In an attempt to allay her husband's fears, Emily Carrell (Hazel Court) encourages Guy to open his father's tomb to determine whether the elder man died peacefully. When the tomb is opened, Guy's worst suspicions are realized and he falls into a cataleptic seizure. The doctors determine Guy has died of a heart attack and he is buried alive.
read more on Wikipedia