Changing memlock via editing /etc/security/limits.d/10-gcr.conf doesn't work. (otpclient)

I installed otpclient but I get this message: Screenshot_20210108_101312

I then followed the instructions on

I only changed /etc/security/limits.d/10-gcr.conf by removing everything in the file and adding soft memlock 16384 & hard memlock 16384.

[francois@francois-pc ~]$ ulimit -l

Unfortunately the changes didn’t work.

Did you reboot after making the changes?

Yes, I did reboot.