Fix lock expire

Expire expects seconds and not miliseconds