Can I make so when I press a button on my Arduino Uno board, it will press a key on my computer?
Not without extra software on your computer side.

However if you use Arduino Micro, you can emulate keyboard and/or mouse directly.