Allow locking of text versions
Lookup texts according to a priority field, if set
Merge branch 'locks'