Vlock working.
Add foreground lock support.