Dynamic print reading works and serial library is called to control lock