Using memory locking is a last resort for disabling swapping. It is preferable simply to disable swap. Can you do this instead of using bootstrap.memory_lock?
If you must use memory_lock, the reference docs indicate that you need to set some settings on the container. It's not clear from your post, but I suspect you're only setting the memlock limits on the host.