In Canada, are you obliged to tell others how you voted?

No but you may choose to discuss how you voted with others.

If the Lieutenant Governor asks, yes.

If your Member of Parliament asks, yes.

If your family would like to know how you voted, yes.