How to create a multiball which uses multiple lock devices

Help us to write it