A father’s unconventional discipline method went viral after the family posted it online, drawing praise and criticism from the public.