"Failed to open Focuslock" error

Ok, so I ended up solving this myself so thought I would post it here for someone else who might have run into the same problem.

As with most things, the solution was pretty simple in the end.

I uninstalled focuslock, ran ccleaner to clean my registry, reinstalled focuslock, and used the ‘open’ option twice. The first time the error reappeared, the second and subsequent times it has been fine.