Can Can i permanently change the value of a button?

Can Can i permanently change the value of a button?

Hi sir, 
I am currently using jquery in ASP.Net mvc razor View, and want to change the value of button permanently, I did some coding which works but the problem is i refresh the page it again change the value to original one, the button value is Lock when i click on it i want it to be Unlock which it does but after refreshing the page it again become Lock,

Here is my code;

function change()
    {
        
        var elem = document.getElementById("lockId");
        var orderid = document.getElementById("order_no");
        if (elem.value == "Lock"){
           
        window.location.href = '/Admin/Orders/LockClick? &Lock_Id=' + 1 + '&order_No=' + $('#order_no').val() + '&cust_acctNo=' + $('#cust_acc_id').val();
           
            elem.value = "Unlock";
            

        
        }