The "Esc" key in my bluetooth keyboard doesn't work, how to fix it? [duplicate]
I have (likely) the same keyboard and solved the problem this way: I mapped caps lock to esc.
You can do this via System Preferences > Keyboard > Modifier Keys. There, at Caps Lock select Escape.