lock in Serializer gem