This is because the schema is locked (and possibly expired as well).
So we just have to connect to Oracle as DBA and unlock our schema/user
And then as the schema is unlocked now but the password for the schema is only in 'expired' state, if you can go ahead and connect to it. It fails and asks you to set a new password. You set a password and you can happily use the scott schema now with out any issues.
Happy Learning SQL !!!