Secret wills

If one spous secretly will marital property to the children? Will marital property law over ride the will? All children are over 40 years old.

The surviving spouse has certain rights which can override the will to an extent.