Unfortunately, there is no magical way to keep your belt tied during a Jiu Jitsu class. (Believe me, I’ve tried a bunch of different ways.)
However, it’s important you start and end your class with a neatly tied belt. The video below outlines a great way to tie you that’s both comfy and looks good.
Here’s a narrated version of the same belt tie.