Update synounlocker.py

- directory support