DataWriteLock

Use this in order to lock the access to the external data.