Read input before locking