Add support for locks mod