published locking made easy