Shiftlock for Console is not working

I want to add Shiftlock for Console Players, I tried using method where you need to copy player module and add keycodes in MouseLockController script, but it’s still not working. How do I fix it or if I can’t with this method, how can I add shiftlock for console players?