There is a metal bar underneath each tray to keep it from collapsing unintentionally, but there is no locking mechanism.