Wrote an article
https://dev.to/anirbmuk/handle-caps-lock-onoff-event-in-angular-52go