LOCKING WORKS.
LOCKING WORKS.

Also this time I've remembered to add the lock files to the system.