The end table next to the bed is a safe container. Note: If you run these commands on characters who weren’t intended to be married there could be buggy consequences. This can include paying 500 gold to hire them as a follower, completing small personal requests for them or finishing more significant quest lines. Taking into account dialogue, training service, follower able, vampirism able (the gift).
spouse dialogue broken - posted in Skyrim Special Edition Technical Support: after marriage the dialogue for moving does not take place. This should help you make a choice and tell you everything you need to know about your potential spouse… Spouses that could previously be followers/companions will continue to have that option.