title: How to call a keyboard key press programmatically?
body: <p><strong>Problem</strong>:
  Calling a keyboard key to be pressed, from a piece of C# code
  but here's the catch: the key-press should not be limited to the process/application
  but received by the entire operating system, so also when the program is in the background and a different form/program has focus</p>
  
  <p><strong>Goal</strong>:
  make a program that locks the state of <kbd>CapsLock</kbd> and <kbd>NumLock</kbd></p>
  
  <p><strong>Background</strong>:
  I have a laptop, and these 2 keys frustrate me to much, I want to make a application that runs in the background, and that disables <kbd>CapsLock</kbd> as soon as it gets accidentally enabled, and for <kbd>NumLock</kbd> to never be disabled, also, I want to extend my knowledge about coding, I have tried to find solutions, but none of them solve the (entire) problem.</p>