This question already has an answer here:
I am trying to map my Caps Lock to Control. To that end I added the following:
setxkbmap -option ctrl:nocaps
Startup Applications menu. This works fine whenever I start the system, however, after unlocking the screen lock the setting is reset back to the default. Why is that? I run Ubuntu 15.04.