Parent-child contracts for using digital devices