Externalized locking strategy