Add docstrings to balrog locker script.