monitor locking added