Implements locking of decoded token