[Help] Lockscreen Extremely Lags

i've ported 2 miui version (2.8.10) and (2.11.9) to my devices
but the lockscreen still lags when i want to unlock it in both version.
and then when i play a music, the music stopped when i lock the screen, and music control in lockscreen is extremely lag.
but if i use lockscreen with less resource (don't have a music control) everything works fine