I want to put the grain in my own locket, does it need to be in oil?

Yes, rice can dry and crack. In order for the grain to stay preserved, it must remain in oil.