The script is designed to unlock 48V batteries LIB48_222 from Mercedes 205/213/222/167 on the bench without opening the battery (if the battery itself is not damaged). The script was tested on a homemade MCP2515 CAN adapter and no problems arose, the unlocking time is about 5-6 seconds.
The script has only 2 buttons:
1) Lock Status (to read the current state locked / not locked)
2) Unlock (the name speaks for itself)
Video of the script in action