Thread pin/hide/lock flags support