A trailing "&" after the xlock command should be used to finish xflock4 script after locking desktop.
*** This bug has been marked as a duplicate of bug 3770 ***
This is not a duplicate of bug 3770, but has been fixed: trailing "&" is used with lockers that need it in xflock4.