Jewish pupils who attend Cooper Union university located in New York say they were locked inside the library as part of a pro-Palestinian demonstration.