I came into(1)/the room when(2)Mary played the piano.(3)no error.(4)
Yes ...it should be in continues tens
'The' must be used before musical instrument. Part(3) should be in past continuous tense according to the meaning of the whole sentence.
When musical instrument are used as countable noun,then a/an is used.
Part (3) has error. But how?