Added proper locks in i3wm.