A rolling keyboard stand like this on the side and move it when needed - https://www.amazon.com/Neewer-Adjustable-25-5-37-5-centimeters-Electronic/dp/B07DWPFLL7
A more involved solution is a standing desk with a slide out tray.