It's great, you can't do that on the PC only with AHK.
Yes I thought it should toggle also.
I think you can use https://pqrs.org/osx/karabiner/ to send Command-F to then it will toggle Freeze Un-Freeze to Biab.
User/Library/Preferences/com.apple.symbolichotkeys.plist
On the PC mostly.