disable locking in test mode