Memory lock not working

Do you work over OpenSSH and /etc/ssh/sshd_config contains UsePAM no?