You are welcome.
Interred alive would actually have been considered a pretty extreme punishment at the time, even in a country that by the time was still half medieval. - For a noble girl, that is.
There are a couple of things to take into consideration.
By 1540 Denmark had just recovered after what was arguably one of the most vicious and brutal civil wars in our history - and some of the "old habits" in regards to extreme punishments during wars had perhaps not been forgotten.
Another matter is the Bloodbath in Stockholm in 1520, in which the Danish king (Christian II), literally decapitated a good deal of the Swedish nobility in order to quell political opposition in Sweden. That backfired big time, but that's another story. That bloodbath was considered very
shocking at the time! - So brutality and what was executions without a trial was not something novel.
On top of that the Danish nobility fought a stubborn rearguard action in regards to maintaining the old privileges of the nobility. Mainly tax exemptions but also the right to hand out sentences over the peasants within their fief and also within their own families, as we see in this example.
The kings wanted to have a central government and having courts of law dealing with such issues, also
in regards to the nobility.
Killing the stable-boy without a trial would strictly speaking have been illegal since 1282, where the Danish version of Magna Carta (It was very much a copy of Magna Carta!) was written.
And so would the bricking up of a daughter. - To "counter" that, it could be argued that the daughter wasn't actually killed - she "merely" died from suffocation, shock or thirst from being interred alive... And it says in the Bible, if you interpret it selectively, that the head of a household has the right to slay family members if they sin.
And anyway it wasn't anyone's business but the family, so buck off!