Start with the opening, then the function, then the closing.

The opening

<ship>press

The function

<anchor="(Tab Name)">

The closing

</Lock>

Combined

<ship>press<anchor="(Tab Name)"></Lock>

Result

<ship>press<anchor="(Tab Name)"></Lock>