I could disable the escape key behavior via the registry key, when using SfB 16.0 x64. [Note that this doesn't seem to work if you're using Skype for Business Basic]
Under HKCU\Software\Policies\Microsoft\Office\16.0\Lync\DisabledShortcutKeysCheckBoxes
:
- String Name:
Escape
(or whatever you want)
- String Value:
27,0
The downside is that Esc is now disabled throughout the entire SfB app. For example, if you open a menu via Alt+F, you cannot hit Esc to close it, like you could before. IMO, it's worth it.
Extra info: The other post you linked revealed the format of the string value, which appears to be:
KeyCodeDec,Modifiers
KeyCodeDec seems to map to this list of virtual keys when converted to decimal values.
With some experimentation, I've found that the modifiers are:
4
for Shift
8
for Ctrl
16
for Alt
You can disable pretty much any key, it seems. 70,16
is Alt+F, 67,0
will prevent you from typing c in your chats, but will still allow Shift+C.