In our standard image we use two PS/2 interfaces for a PS/2 mouse and keyboard.
If you don't use these interfaces and you would like to use the GPIOs for another function you can disable the PS/2 interface.
Set the value of the GPIOs in the Mouse driver registry settings and Keyboard driver registry settings to -1. So no GPIO will be used. Do not disable the whole keyboard driver because otherwise also an USB keyboard will not work anymore.