How can I close my current app via a keyboard shortcut?
In Android 9:


To go home you can press "Windows key" (if you have a keyboard for
Windows) plus "Enter".
Press "Win key" plus "-". Android will show you all shortcuts.
Other way, if you already have plugged your keyboard, go to
"Settings" and search "Physical keyboard", there you will find
configuration needed.