diff --git a/javascript/src/iframe/viamapi-iframe.js b/javascript/src/iframe/viamapi-iframe.js
index 24e412b0ce06b5eabecfae22a1ca7fdf358a7966..74c1ef79414aecc50e85a720ed3ebfb669c643e4 100644
--- a/javascript/src/iframe/viamapi-iframe.js
+++ b/javascript/src/iframe/viamapi-iframe.js
@@ -577,7 +577,7 @@ function getTimeLeftInLocalStorage() {
   let minutes = Math.floor((blockFinishTime - timeNow) / 60);
   minutes %= 60;
 
-  const left = "Your identity has been blocked. Try again in " + minutes + " minutes and " + seconds + " seconds.";
+  const left = "Your identity has been locked. Try again in " + minutes + " minutes and " + seconds + " seconds.";
   return left;
 }
 
@@ -598,7 +598,7 @@ function failPincodeAttempt(password) {
       const blockFinishTime = timeNow + 300;
       localStorage.setItem("blockFinishTime", blockFinishTime);
       localStorage.setItem("attempt", attempt + 1);
-      message = "3 failed attempts. Identity is blocked!";
+      message = "3 failed attempts. Identity is locked!";
     } else {
       localStorage.setItem("attempt", attempt + 1);
     }