Lock stylus dependency