Add isLocked and isAdminLocked variables