The way the snake example is currently written with the input lock you need to wait a full tick before pressing another button, it is a better experience to be able to press two allowed commends immediately and have them execute one after another. This can be achieved with a simple linked list.
I will open a PR with the proposed improvement soon.