diff --git a/internal/core/command/device.go b/internal/core/command/device.go
index <HASH>..<HASH> 100644
--- a/internal/core/command/device.go
+++ b/internal/core/command/device.go
@@ -45,7 +45,7 @@ func commandByDeviceID(did string, cid string, b string, p bool) (string, int) {
 		}
 	}
 
-	if p && (d.AdminState == models.Locked) {
+	if d.AdminState == models.Locked {
 		LoggingClient.Error(d.Name + " is in admin locked state")
 
 		return "", http.StatusLocked
#<I> Return HTTP <I> LOCKED when issuing a GET command to a locked device