The 'l' key is causing my game to freeze

For some reason the ‘l’ key is causing my game to freeze. I am not sure why this is happening. I have included a link to my code below.

Lexi