Code: /usr/bin/qtlockscreen & instead of killall qtlockscreen and it did work
/usr/bin/qtlockscreen &
pkill -HUP qtlockscreen