Numeric pad not working properly on lock screen

Hello people.

I have an old Pentium Dual Core e6300 machine paired with r7 250. My keyboard is Logitech’s k120 with Turkish layout. The problem is, when I try to enter the password with numeric pad, it acts like numlock isn’t on which is on and it does secondary functions of numerics which are arrows, pgup, pgdown, etc. I’d like to solve this issue.

Edit: I’m using xfce, BTW.

have a look:
https://wiki.archlinux.org/index.php/Activating_numlock_on_bootup

Thanks, but it didn’t work. I turn numlock off and on again, then it works. Interesting.