Students have started to experiment with ChatGPT in recent months, using it for fun, as a learning tool — and to cheat.