Unable to create lock in backend

Hello

Currently using Restic to backup to my Backblaze b2 accounts. Seems to work for the most part and the data is uploaded, however I always seem to get stuck on the locks

scan [/home/paths/to/back/up]
scanned 125321 directories, 242021 files in 10:10
[17:08] 100.00%  41.579 MiB/s  41.741 GiB / 41.599 GiB  367719 / 367342 items  0 errors  ETA 0:00 
duration: 17:08, 41.43MiB/s
snapshot 524a328d saved
unable to create lock in backend: repository is already locked by PID 5666 on ubuntu by root (UID 0, GID 0)
lock was created at 2018-02-08 01:10:58 (255h42m35.442540183s ago)
storage ID 87a257c8
unable to create lock in backend: repository is already locked by PID 5666 on ubuntu by root (UID 0, GID 0)
lock was created at 2018-02-08 01:10:58 (255h42m49.135698648s ago)
storage ID 87a257c8
unable to create lock in backend: repository is already locked by PID 5666 on ubuntu by root (UID 0, GID 0)
lock was created at 2018-02-08 01:10:58 (255h42m53.85260751s ago)

I used the unlock command to unlock the repo. The unlock is reported as sucessful. I run the backup again and it just hangs once the snapshot has been created

7:53] 100.00%  91.611 MiB/s  42.316 GiB / 42.299 GiB  372282 / 37... ETA 0:00 
duration: 7:53, 91.47MiB/s
snapshot 540e9f5d saved
...

Any help would be great

Thanks