The shoes and slippers are locked to protect from thieves in a mosque. The shoes and slippers are locked to protect from thieves in a mosque.