Miraflores Locks Visitor Center is a excellent place to visit.  You can watch the boats go by from the observation deck or have a bite to eat at the restaurant and watch the ships transit through the locks as you sip your afternoon coffee. http://www.tripadvisor.com/Travel-g294480-d547531/Panama-City:Panama:Miraflores.Locks.Visitor.Center.html