diff --git a/config/locker.php b/config/locker.php
index <HASH>..<HASH> 100644
--- a/config/locker.php
+++ b/config/locker.php
@@ -4,7 +4,7 @@ return [
     'Locker' => [        
         'timeout' => 1000,
         'FileLocker' => [
-            'dir' => '/tmp',
+            'dir' => sys_get_temp_dir(),
         ],
     ],
 ];
diff --git a/src/Utility/Locker/FileLocker.php b/src/Utility/Locker/FileLocker.php
index <HASH>..<HASH> 100644
--- a/src/Utility/Locker/FileLocker.php
+++ b/src/Utility/Locker/FileLocker.php
@@ -11,7 +11,7 @@ class FileLocker extends BaseLocker
     /**
      * @var $lockDir
      */
-    private $lockDir = '/tmp';
+    private $lockDir = null;
 
     /**
      * __construct method
@@ -31,6 +31,10 @@ class FileLocker extends BaseLocker
             $this->lockDir = $dir;
         }
 
+        if (empty($this->lockDir)) {
+            $this->lockDir = sys_get_temp_dir();
+        }
+
         $lock = new FlockLock($this->lockDir);
 
         parent::__construct($key, $lock);
Replaced hardcoded dir to store lock files by default system one