I know there are many solutions to this problem like using
indicator-keylock or using
I have tried them both. However since I am on Ubuntu 18.04, these are not working.
Can someone help me with something new or help me in writing a new indicator which I can use for myself at least?