function requestLock() {
    if (updateSOD() == false) {
        activateReadOnly()
        w2alert("You are opening a file created with a newer version of Aurora IR. Please upgrade to the newest version of Aurora IR and try again")
        return
    }

    if(case_data.locked) {
        w2alert("The SOD is still locked by another analyst.")
        return
    }

    stopAutoUpdate()
    startAutoSave()
    deactivateReadOnly()

    lockstate = "&#128272; Case unlocked (edits allowed)"

    $( "#lock" ).html(lockstate)
    lockedByMe = true
    case_data.locked=true

    saveSOD()
}
Try to obtain the lock to make the data editable
@param sodiscurrent - if this method is called right after a sod was loaded there is no need to load it again to check the lock state.