Enhancement: Removed locks if thread concurrency is possible without it