proper entry locking for purge