Mixing trainable and non-trainable embeddings

I have some pretrained embeddings. I want some of them to be trainable and others to be fixed. How can this be implemented?