Fix typos in locks in ws_string

Fixes accidental double-unlocks in several ws_string methods.