From the steam family sharing FAQ
Can two users share a library and both play at the same time?
No, a shared library may only be accessed by one user at a time.
My question is while two people can't play games at the same time. Can one person play a game while the other who owns the game be logged in?