That kind of "freezing" may happen with synchronous motors (BLDC or AC) by two reasons:
1. Encoder count is not set exactly correctly in drive parameters
2. There is some noise in encoder signals so drive loses some encoder counts and eventually motor goes out of sync
The most probable case is #1. Are you sure your encoder is not for example 1024 CPR instead of 1000?