Lock direction according to config
Build